Spaces:
Running
Running
Commit
·
adfbec3
1
Parent(s):
3cb01a4
change dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -14,4 +14,5 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
14 |
|
15 |
COPY --chown=user . /app
|
16 |
# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
17 |
-
CMD ["gunicorn", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:7860", "app:app"]
|
|
|
|
14 |
|
15 |
COPY --chown=user . /app
|
16 |
# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
17 |
+
# CMD ["gunicorn", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:7860", "app:app"]
|
18 |
+
CMD ["gunicorn", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:7860", "--timeout", "0", "app:app"]
|