Spaces:
Running
Running
Michael Natanael
commited on
Commit
·
498fece
1
Parent(s):
bf1f187
change docker config
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -26,5 +26,5 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
26 |
|
27 |
COPY --chown=user . /app
|
28 |
# CMD ["gunicorn", "--timeout", "300", "-b", "0.0.0.0:7860", "app:app"]
|
29 |
-
CMD ["gunicorn", "--timeout", "300", "--workers", "1", "--threads", "4", "-b", "0.0.0.0:7860", "app:app"]
|
30 |
-
|
|
|
26 |
|
27 |
COPY --chown=user . /app
|
28 |
# CMD ["gunicorn", "--timeout", "300", "-b", "0.0.0.0:7860", "app:app"]
|
29 |
+
# CMD ["gunicorn", "--timeout", "300", "--workers", "1", "--threads", "4", "-b", "0.0.0.0:7860", "app:app"]
|
30 |
+
CMD ["gunicorn", "--timeout", "300", "--workers", "2", "--threads", "4", "--worker-class", "gthread", "-b", "0.0.0.0:7860", "app:app"]
|