Hamdy005 commited on
Commit
96bfc0a
·
verified ·
1 Parent(s): 9034864

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -20,7 +20,9 @@ RUN python -m nltk.downloader wordnet stopwords
20
 
21
 
22
  # 7. Expose Streamlit Port
23
- EXPOSE 7860
 
 
24
 
25
  # 8. Run the Streamlit App
26
- CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0"]
 
20
 
21
 
22
  # 7. Expose Streamlit Port
23
+ EXPOSE 8501
24
+ HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
25
+
26
 
27
  # 8. Run the Streamlit App
28
+ ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]