Spaces:
Runtime error
Runtime error
xyplon
commited on
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -19,4 +19,4 @@ ENV FLASK_RUN_HOST=0.0.0.0
|
|
19 |
ENV FLASK_RUN_PORT=7860
|
20 |
|
21 |
# Run the Gunicorn server with the appropriate worker class (gthread)
|
22 |
-
CMD ["gunicorn", "-w", "
|
|
|
19 |
ENV FLASK_RUN_PORT=7860
|
20 |
|
21 |
# Run the Gunicorn server with the appropriate worker class (gthread)
|
22 |
+
CMD ["gunicorn", "-w", "2", "-k", "gevent", "-b", "0.0.0.0:7860", "app:app"]
|