🚑️ fix debug mode

This commit is contained in:
JMARyA 2022-09-09 16:40:44 +02:00
parent 9a12cfa491
commit c3d63a25fc
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 45 additions and 1 deletions

42
.drone.yml Normal file
View 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

View file

@ -8,4 +8,6 @@ VOLUME /config
COPY src /app COPY src /app
RUN sed -i "s/debug=True/debug=False/" /app/main.py
CMD [ "python3", "/app/main.py" ] CMD [ "python3", "/app/main.py" ]