Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -31,8 +31,7 @@ COPY . .
|
|
| 31 |
EXPOSE 8501
|
| 32 |
|
| 33 |
# Healthcheck (streamlit exposes this)
|
| 34 |
-
HEALTHCHECK
|
| 35 |
-
CMD curl --fail http://localhost:8501/_stcore/health || exit 1
|
| 36 |
|
| 37 |
# Run Streamlit
|
| 38 |
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
|
|
|
|
| 31 |
EXPOSE 8501
|
| 32 |
|
| 33 |
# Healthcheck (streamlit exposes this)
|
| 34 |
+
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
|
|
|
| 35 |
|
| 36 |
# Run Streamlit
|
| 37 |
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
|