ntaexams commited on
Commit
2195820
·
verified ·
1 Parent(s): 9a0f359

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -8
Dockerfile CHANGED
@@ -1,17 +1,9 @@
1
- # Use a lightweight Python image
2
  FROM python:3.10
3
 
4
- # Set the working directory inside the container
5
  WORKDIR /app
6
-
7
- # Copy all project files into the container
8
  COPY . .
9
 
10
- # Install required dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- # Expose the port Streamlit runs on (default is 8501)
14
  EXPOSE 8501
15
-
16
- # Run the Streamlit app
17
  CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
 
1
  FROM python:3.10
2
 
 
3
  WORKDIR /app
 
 
4
  COPY . .
5
 
 
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
 
8
  EXPOSE 8501
 
 
9
  CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]