WebashalarForML commited on
Commit
ef77c7c
·
verified ·
1 Parent(s): fb63504

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -68,4 +68,6 @@ ENV FLASK_APP=app.py
68
  ENV FLASK_ENV=production
69
 
70
  # Command to run the Flask app using Gunicorn
71
- CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "--timeout", "120", "app:app"]
 
 
 
68
  ENV FLASK_ENV=production
69
 
70
  # Command to run the Flask app using Gunicorn
71
+ #CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "--timeout", "120", "app:app"]
72
+ # Command to run the Flask app using Gunicorn with 1 worker
73
+ CMD ["gunicorn", "--workers=1", "--bind=0.0.0.0:7860", "--timeout=120", "app:app"]