Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -24,7 +24,7 @@ RUN mkdir -p $STREAMLIT_HOME && \
|
|
| 24 |
echo "\
|
| 25 |
[server]\n\
|
| 26 |
headless = true\n\
|
| 27 |
-
port =
|
| 28 |
enableCORS = false\n\
|
| 29 |
\n\
|
| 30 |
[theme]\n\
|
|
@@ -36,10 +36,10 @@ base = 'light'\n\
|
|
| 36 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 37 |
|
| 38 |
# Expose port
|
| 39 |
-
EXPOSE
|
| 40 |
|
| 41 |
# Health check
|
| 42 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 43 |
|
| 44 |
# Entrypoint to run app
|
| 45 |
-
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=
|
|
|
|
| 24 |
echo "\
|
| 25 |
[server]\n\
|
| 26 |
headless = true\n\
|
| 27 |
+
port = 7860\n\
|
| 28 |
enableCORS = false\n\
|
| 29 |
\n\
|
| 30 |
[theme]\n\
|
|
|
|
| 36 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 37 |
|
| 38 |
# Expose port
|
| 39 |
+
EXPOSE 7860
|
| 40 |
|
| 41 |
# Health check
|
| 42 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 43 |
|
| 44 |
# Entrypoint to run app
|
| 45 |
+
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|