This commit is contained in:
Mateusz Gruszczyński
2026-01-02 22:57:07 +01:00
parent 69711b46bc
commit ca3cc57773
4 changed files with 15 additions and 17 deletions

View File

@@ -34,4 +34,4 @@ ENV LISTEN_PORT=8080
EXPOSE $LISTEN_PORT
# Run app
CMD ["python", "app.py"]
CMD ["sh", "-c", "gunicorn --bind 0.0.0.0:${LISTEN_PORT} --workers 1 --threads 2 --access-logfile - --error-logfile - app:app"]