xyplon commited on
Commit
f906832
·
verified ·
1 Parent(s): 5fc7fe6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -20,4 +20,4 @@ ENV FLASK_RUN_HOST=0.0.0.0
20
  ENV FLASK_RUN_PORT=7860
21
 
22
  # Run the Gunicorn server with the appropriate worker class (gthread)
23
- CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--worker-class", "gthread", "app:app"]
 
20
  ENV FLASK_RUN_PORT=7860
21
 
22
  # Run the Gunicorn server with the appropriate worker class (gthread)
23
+ CMD ["gunicorn", "-w", "20", "-k", "gevent", "-b", "0.0.0.0:7860", "app:app"]