r.go commited on
Commit
751a9c4
·
1 Parent(s): 382c78a
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -57,4 +57,4 @@ EXPOSE 7860
57
  RUN pip install -r requirements.txt
58
 
59
  # Start the server using uvicorn.
60
- CMD ["python", "-m", "hypercorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "8", "--timeout-keep-alive", "600"]
 
57
  RUN pip install -r requirements.txt
58
 
59
  # Start the server using uvicorn.
60
+ CMD ["python", "-m", "hypercorn", "main:app", "-b", "0.0.0.0:7860", "-w", "8", "--keep-alive", "600"]