aadhavans commited on
Commit
be7bb59
·
1 Parent(s): ec3194d

Adjusting folder structure

Browse files
Dockerfile CHANGED
@@ -29,7 +29,7 @@ RUN mkdir -p /app/.streamlit \
29
  /app/outputs \
30
  /tmp
31
 
32
- # Copy Streamlit config if you have one
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
- # Command to run Streamlit app
42
- # Let Streamlit auto-discover the main page in /pages
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