jaykishan-b commited on
Commit
f6ea2b1
·
1 Parent(s): 29b3fb4

Updated: Timeout

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -18,4 +18,5 @@ COPY . .
18
  EXPOSE 7860
19
 
20
  # Command to run the application with Gunicorn and Uvicorn workers
21
- CMD ["uvicorn", "app.main:server", "--host", "0.0.0.0", "--port", "7860", "--workers", "4"]
 
 
18
  EXPOSE 7860
19
 
20
  # Command to run the application with Gunicorn and Uvicorn workers
21
+ # CMD ["uvicorn", "app.main:server", "--host", "0.0.0.0", "--port", "7860", "--workers", "4"]
22
+ CMD ["uvicorn", "app.main:server", "--host", "0.0.0.0", "--port", "7860", "--workers", "4", "--timeout-keep-alive", "60", "--timeout-graceful-shutdown", "60"]