AreejMehboob commited on
Commit
54e908f
·
verified ·
1 Parent(s): 713546a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -28,10 +28,11 @@ COPY src/ ./src/
28
  RUN pip install --no-cache-dir -r requirements.txt
29
 
30
  # Expose Streamlit's default port
31
- EXPOSE 8501
32
 
 
33
  # Healthcheck for container status
34
- HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
35
 
36
  # Start the Streamlit app
37
  ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=5000", "--server.address=0.0.0.0"]
 
28
  RUN pip install --no-cache-dir -r requirements.txt
29
 
30
  # Expose Streamlit's default port
31
+ EXPOSE 5000
32
 
33
+ --server.enableXsrfProtection=false
34
  # Healthcheck for container status
35
+ HEALTHCHECK CMD curl --fail http://localhost:5000/_stcore/health || exit 1
36
 
37
  # Start the Streamlit app
38
  ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=5000", "--server.address=0.0.0.0"]