rajkhanke commited on
Commit
c3f99d2
·
verified ·
1 Parent(s): 8078cef

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -16,6 +16,5 @@ RUN pip install --no-cache-dir -r requirements.txt
16
  # Expose the port your app runs on
17
  EXPOSE 7860
18
 
19
- # Command to run the application
20
- CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
21
-
 
16
  # Expose the port your app runs on
17
  EXPOSE 7860
18
 
19
+ # Run the application with Gunicorn and increase the worker timeout to 30 seconds
20
+ CMD ["gunicorn", "-w", "4", "--timeout", "30", "-b", "0.0.0.0:7860", "app:app"]