Shreyas commited on
Commit
adf9c6b
·
verified ·
1 Parent(s): ee1d6a8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -13,5 +13,5 @@ RUN pip install --no-cache-dir -r requirements.txt
13
  # The app listens on port 7860 on Hugging Face
14
  EXPOSE 7860
15
 
16
- # Define the command to run the application using the Procfile
17
- CMD ["sh", "-c", "gunicorn --bind 0.0.0.0:7860 app:app"]
 
13
  # The app listens on port 7860 on Hugging Face
14
  EXPOSE 7860
15
 
16
+ # Command to run the Streamlit app directly
17
+ CMD ["streamlit", "run", "model.py", "--server.port", "7860", "--server.enableCORS", "false", "--server.enableXsrfProtection", "false"]