srivatsavdamaraju commited on
Commit
33d3370
1 Parent(s): 4e0b971

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -24,5 +24,5 @@ RUN pip install -r requirements.txt
24
  # Expose port 7860 for Hugging Face Spaces (default port for web apps)
25
  EXPOSE 7860
26
 
27
- # Command to run the application
28
- CMD ["python", "app.py"]
 
24
  # Expose port 7860 for Hugging Face Spaces (default port for web apps)
25
  EXPOSE 7860
26
 
27
+ # Command to run the application using Gunicorn
28
+ CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]