Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -31,10 +31,13 @@ COPY . .
|
|
| 31 |
# Expose Streamlit port
|
| 32 |
EXPOSE 8501
|
| 33 |
|
|
|
|
|
|
|
|
|
|
| 34 |
# Set Streamlit to run on all interfaces
|
| 35 |
ENV STREAMLIT_SERVER_HEADLESS=true
|
| 36 |
ENV STREAMLIT_SERVER_PORT=8501
|
| 37 |
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
|
| 38 |
|
| 39 |
# Default command to run the app
|
| 40 |
-
CMD ["streamlit", "run", "app.py"]
|
|
|
|
| 31 |
# Expose Streamlit port
|
| 32 |
EXPOSE 8501
|
| 33 |
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
# Set Streamlit to run on all interfaces
|
| 38 |
ENV STREAMLIT_SERVER_HEADLESS=true
|
| 39 |
ENV STREAMLIT_SERVER_PORT=8501
|
| 40 |
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
|
| 41 |
|
| 42 |
# Default command to run the app
|
| 43 |
+
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|