Spaces:
Sleeping
Sleeping
Adjusting folder structure
Browse files- Dockerfile +3 -4
- pages/KPI_Dashboard.py → KPI_Dashboard.py +0 -0
Dockerfile
CHANGED
|
@@ -29,7 +29,7 @@ RUN mkdir -p /app/.streamlit \
|
|
| 29 |
/app/outputs \
|
| 30 |
/tmp
|
| 31 |
|
| 32 |
-
# Copy Streamlit config
|
| 33 |
COPY .streamlit/config.toml /app/.streamlit/config.toml
|
| 34 |
|
| 35 |
# Set environment variable for Matplotlib to use writable directory
|
|
@@ -38,6 +38,5 @@ ENV MPLCONFIGDIR=/app/.config/matplotlib
|
|
| 38 |
# Expose Streamlit default port
|
| 39 |
EXPOSE 8501
|
| 40 |
|
| 41 |
-
#
|
| 42 |
-
|
| 43 |
-
CMD ["streamlit", "run", "/app/pages/KPI_Dashboard.py"]
|
|
|
|
| 29 |
/app/outputs \
|
| 30 |
/tmp
|
| 31 |
|
| 32 |
+
# Copy Streamlit config
|
| 33 |
COPY .streamlit/config.toml /app/.streamlit/config.toml
|
| 34 |
|
| 35 |
# Set environment variable for Matplotlib to use writable directory
|
|
|
|
| 38 |
# Expose Streamlit default port
|
| 39 |
EXPOSE 8501
|
| 40 |
|
| 41 |
+
# Start Streamlit with KPI_Dashboard.py as the main page
|
| 42 |
+
CMD ["streamlit", "run", "KPI_Dashboard.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
pages/KPI_Dashboard.py → KPI_Dashboard.py
RENAMED
|
File without changes
|