Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -24,14 +24,14 @@ RUN mkdir -p /app/.streamlit && chmod -R 777 /app/.streamlit
|
|
| 24 |
RUN echo "\
|
| 25 |
[server]\n\
|
| 26 |
headless = true\n\
|
| 27 |
-
port =
|
| 28 |
enableCORS = false\n\
|
| 29 |
enableXsrfProtection = false\n\
|
| 30 |
\n\
|
| 31 |
[browser]\ngatherUsageStats = false\n\
|
| 32 |
" > /app/.streamlit/config.toml
|
| 33 |
|
| 34 |
-
EXPOSE
|
| 35 |
|
| 36 |
# Default command to run the Streamlit app
|
| 37 |
-
CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=
|
|
|
|
| 24 |
RUN echo "\
|
| 25 |
[server]\n\
|
| 26 |
headless = true\n\
|
| 27 |
+
port = 7860\n\
|
| 28 |
enableCORS = false\n\
|
| 29 |
enableXsrfProtection = false\n\
|
| 30 |
\n\
|
| 31 |
[browser]\ngatherUsageStats = false\n\
|
| 32 |
" > /app/.streamlit/config.toml
|
| 33 |
|
| 34 |
+
EXPOSE 7860
|
| 35 |
|
| 36 |
# Default command to run the Streamlit app
|
| 37 |
+
CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|