Neon-AI commited on
Commit
6c64222
·
verified ·
1 Parent(s): 0abffe2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -28,5 +28,8 @@ RUN playwright install --with-deps chromium
28
 
29
  COPY . .
30
 
31
- # HF Spaces runs on port 7860 for Streamlit
32
- CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
 
 
 
 
28
 
29
  COPY . .
30
 
31
+ EXPOSE 8501
32
+
33
+ HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
34
+
35
+ ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]