WebashalarForML commited on
Commit
fcaab5d
1 Parent(s): fd0550d

Update Dockerfile

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