NavyDevilDoc commited on
Commit
3223d58
·
verified ·
1 Parent(s): da2aaa3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -21,10 +21,10 @@ RUN pip install --no-cache-dir -r requirements.txt
21
  COPY . .
22
 
23
  # Expose the port Streamlit runs on
24
- EXPOSE 7860
25
 
26
  # Healthcheck to ensure the container is responsive
27
- HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health || exit 1
28
 
29
  # Command to run the application
30
  # server.address=0.0.0.0 is crucial for Docker networking
 
21
  COPY . .
22
 
23
  # Expose the port Streamlit runs on
24
+ EXPOSE 8501
25
 
26
  # Healthcheck to ensure the container is responsive
27
+ HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
28
 
29
  # Command to run the application
30
  # server.address=0.0.0.0 is crucial for Docker networking