WebashalarForML commited on
Commit
37493e6
·
verified ·
1 Parent(s): dfa9a2b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -42,4 +42,5 @@ ENV FLASK_APP=app.py
42
  ENV FLASK_ENV=production
43
 
44
  # Command to run the application
45
- CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "--timeout", "120", "app:app"]
 
 
42
  ENV FLASK_ENV=production
43
 
44
  # Command to run the application
45
+ #CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "--timeout", "120", "app:app"]
46
+ CMD ["gunicorn", "--workers=5", "--threads=2", "--bind=0.0.0.0:7860", "--timeout=120", "app:app"]