Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -30,11 +30,10 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
30 |
# Expose Streamlit's default port
|
31 |
EXPOSE 5000
|
32 |
|
33 |
-
--server.enableXsrfProtection=false
|
34 |
# Healthcheck for container status
|
35 |
HEALTHCHECK CMD curl --fail http://localhost:5000/_stcore/health || exit 1
|
36 |
|
37 |
# Start the Streamlit app
|
38 |
-
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py",
|
39 |
|
40 |
|
|
|
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 |
|