Spaces:
Sleeping
Sleeping
peppinob-ol
commited on
Commit
·
a99d2e7
1
Parent(s):
a2fd89e
Fix: pass Streamlit server options directly in ENTRYPOINT
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
|
@@ -45,5 +45,10 @@ HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
|
|
| 45 |
|
| 46 |
# Run Streamlit app directly from eda directory
|
| 47 |
WORKDIR /app/eda
|
| 48 |
-
ENTRYPOINT ["streamlit", "run", "app.py",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
|
|
|
| 45 |
|
| 46 |
# Run Streamlit app directly from eda directory
|
| 47 |
WORKDIR /app/eda
|
| 48 |
+
ENTRYPOINT ["streamlit", "run", "app.py", \
|
| 49 |
+
"--server.port=7860", \
|
| 50 |
+
"--server.address=0.0.0.0", \
|
| 51 |
+
"--server.enableXsrfProtection=false", \
|
| 52 |
+
"--server.enableCORS=false", \
|
| 53 |
+
"--server.maxUploadSize=200"]
|
| 54 |
|