Spaces:
Sleeping
Sleeping
Michael Natanael
commited on
Commit
·
bf1f187
1
Parent(s):
03a81ed
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 |
-
|
30 |
-
CMD ["gunicorn", "--timeout", "300", "--workers", "2", "--threads", "4", "--worker-class", "gthread", "-b", "0.0.0.0:7860", "app:app"]
|
|
|
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"]
|