quantumbit commited on
Commit
e7c0c5a
·
verified ·
1 Parent(s): 83403d6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -23,5 +23,5 @@ COPY app.py /app/app.py
23
  # Expose port for Hugging Face (7860)
24
  EXPOSE 7860
25
 
26
- # Start the app with Gunicorn
27
- CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
 
23
  # Expose port for Hugging Face (7860)
24
  EXPOSE 7860
25
 
26
+ # Run Flask app with Gunicorn (1 worker for Selenium stability)
27
+ CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "app:app"]