Michael Natanael commited on
Commit
93000c4
·
1 Parent(s): b3eefeb

change threads to 4

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -22,4 +22,4 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
22
 
23
  COPY --chown=user . /app
24
  # CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
25
- CMD ["gunicorn", "--timeout", "300", "--workers", "1", "--threads", "2", "-b", "0.0.0.0:7860", "app:app"]
 
22
 
23
  COPY --chown=user . /app
24
  # CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
25
+ CMD ["gunicorn", "--timeout", "300", "--workers", "1", "--threads", "4", "-b", "0.0.0.0:7860", "app:app"]