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

Update Dockerfile

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