Michael Natanael commited on
Commit
40d728a
·
1 Parent(s): 6b6d018

change gunicorn config

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -21,5 +21,5 @@ COPY --chown=user ./requirements.txt requirements.txt
21
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
22
 
23
  COPY --chown=user . /app
24
- CMD ["gunicorn", "--timeout", "300", "-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"]
 
21
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
22
 
23
  COPY --chown=user . /app
24
+ # CMD ["gunicorn", "--timeout", "300", "-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"]