mahmoudalyosify commited on
Commit
66cdd70
·
verified ·
1 Parent(s): 2740843

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -14,5 +14,5 @@ COPY . .
14
  # Expose the port Streamlit uses
15
  EXPOSE 8501
16
 
17
- # Command to run the application
18
- CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
14
  # Expose the port Streamlit uses
15
  EXPOSE 8501
16
 
17
+ # Command to run the application (Fixed for HF Spaces File Uploads)
18
+ CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]