pinge commited on
Commit
feca9d2
·
verified ·
1 Parent(s): ffe40b4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -3,7 +3,7 @@ FROM python:3.9
3
  # Set working directory
4
  WORKDIR /app
5
 
6
- # Copy application files
7
  COPY . /app
8
 
9
  # Create and set permissions for .streamlit directory
@@ -15,5 +15,5 @@ RUN pip install --no-cache-dir -r requirements.txt
15
  # Expose Streamlit port
16
  EXPOSE 8501
17
 
18
- # Run Streamlit app
19
- CMD ["streamlit", "run", "streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
3
  # Set working directory
4
  WORKDIR /app
5
 
6
+ # Copy all files to /app
7
  COPY . /app
8
 
9
  # Create and set permissions for .streamlit directory
 
15
  # Expose Streamlit port
16
  EXPOSE 8501
17
 
18
+ # Run Streamlit app from src subdirectory
19
+ CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]