feat: update Gunicorn command to use wsgi:app and add wsgi.py for application entry point
Chore App Build, Test, and Push Docker Images / build-and-push (push) Failing after 2m18s

This commit is contained in:
2026-07-30 00:29:41 -04:00
parent 0f903f57bb
commit 7e4a08d415
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ ENV PYTHONIOENCODING=utf-8
VOLUME ["/app/data"] VOLUME ["/app/data"]
# Use Gunicorn instead of python main.py # Use Gunicorn instead of python main.py
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "-k", "gevent", "--workers", "1", "--timeout", "120", "--access-logfile", "-", "--error-logfile", "-", "--log-level", "info", "-c", "gunicorn.conf.py", "main:app"] CMD ["gunicorn", "--bind", "0.0.0.0:5000", "-k", "gevent", "--workers", "1", "--timeout", "120", "--access-logfile", "-", "--error-logfile", "-", "--log-level", "info", "-c", "gunicorn.conf.py", "wsgi:app"]
+4
View File
@@ -0,0 +1,4 @@
from gevent import monkey
monkey.patch_all()
from main import app