Shakhovak commited on
Commit
d470317
1 Parent(s): 57078c4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -22,4 +22,4 @@ COPY --chown=user . $HOME/app
22
 
23
  #CMD ["gunicorn", "--timeout", "1000", "app:app", "-b", "0.0.0.0:5000"]
24
  #CMD ["python", "app.py"]
25
- CMD ["gunicorn", "--timeout", "1500", "app:app", "-b", "0.0.0.0:7860"]
 
22
 
23
  #CMD ["gunicorn", "--timeout", "1000", "app:app", "-b", "0.0.0.0:5000"]
24
  #CMD ["python", "app.py"]
25
+ CMD ["gunicorn", "--timeout", "1000", "--workers", "2", "--worker-class", "gevent", "--worker-connections" , "100", "app:app", "-b", "0.0.0.0:7860"]