diff --git a/backend/Dockerfile b/backend/Dockerfile index a12aa31..ba936cc 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -15,4 +15,4 @@ ENV PYTHONIOENCODING=utf-8 VOLUME ["/app/data"] # 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", "wsgi:app"] \ No newline at end of file +CMD ["gunicorn", "--bind", "0.0.0.0:5000", "-k", "gthread", "--threads", "8", "--workers", "1", "--timeout", "120", "--access-logfile", "-", "--error-logfile", "-", "--log-level", "info", "-c", "gunicorn.conf.py", "main:app"] \ No newline at end of file diff --git a/backend/wsgi.py b/backend/wsgi.py deleted file mode 100644 index 76bd473..0000000 --- a/backend/wsgi.py +++ /dev/null @@ -1,4 +0,0 @@ -from gevent import monkey -monkey.patch_all() - -from main import app