🚑️ fix debug mode
This commit is contained in:
parent
9a12cfa491
commit
c3d63a25fc
2 changed files with 45 additions and 1 deletions
42
.drone.yml
Normal file
42
.drone.yml
Normal file
|
@ -0,0 +1,42 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: deploy-x86
|
||||
|
||||
platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: deploy
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.hydrar.de
|
||||
username:
|
||||
from_secret: registry_user
|
||||
password:
|
||||
from_secret: registry_password
|
||||
repo: git.hydrar.de/jmarya/stone-market
|
||||
tags:
|
||||
- latest
|
||||
- latest-amd64
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: deploy-arm
|
||||
|
||||
platform:
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: deploy
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.hydrar.de
|
||||
username:
|
||||
from_secret: registry_user
|
||||
password:
|
||||
from_secret: registry_password
|
||||
repo: git.hydrar.de/jmarya/stone-market
|
||||
tags:
|
||||
- latest
|
||||
- latest-arm64
|
|
@ -8,4 +8,6 @@ VOLUME /config
|
|||
|
||||
COPY src /app
|
||||
|
||||
CMD [ "python3", "/app/main.py" ]
|
||||
RUN sed -i "s/debug=True/debug=False/" /app/main.py
|
||||
|
||||
CMD [ "python3", "/app/main.py" ]
|
||||
|
|
Loading…
Add table
Reference in a new issue