fix example config not copying to production config in dockerfile

This commit is contained in:
max 2024-12-10 13:31:05 +00:00 committed by theycallhermax
parent 6f430a885b
commit e0d9d1dba0
No known key found for this signature in database
GPG key ID: 24D2803F3E25BF2D

View file

@ -13,6 +13,6 @@ DB_PASS = catask\n\
DB_PORT = 3306\n\ DB_PORT = 3306\n\
ADMIN_PASSWORD = $ADMIN_PASSWORD\n\ ADMIN_PASSWORD = $ADMIN_PASSWORD\n\
APP_SECRET = $(python3 -c "import secrets; print(secrets.token_hex())")' > .env APP_SECRET = $(python3 -c "import secrets; print(secrets.token_hex())")' > .env
COPY config.example.json config.json COPY ./config.example.json ./config.json
ENTRYPOINT [ "gunicorn", "-w", "4", "app:app" ] ENTRYPOINT [ "gunicorn", "-w", "4", "app:app" ]