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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -28,12 +28,12 @@ COPY src/ ./src/
28
  RUN pip install --no-cache-dir -r requirements.txt
29
 
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
 
 
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.enableXsrfProtection=false","--server.port=8501", "--server.address=0.0.0.0"]
38
 
39