harshadh01 commited on
Commit
03d8c2d
·
verified ·
1 Parent(s): e540463

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -20
Dockerfile CHANGED
@@ -1,20 +1,20 @@
1
- FROM python:3.12-slim
2
-
3
- WORKDIR /app
4
-
5
- # Install system dependencies
6
- RUN apt-get update && apt-get install -y \
7
- git \
8
- && rm -rf /var/lib/apt/lists/*
9
-
10
- # Copy project files
11
- COPY . /app
12
-
13
- # Install Python dependencies
14
- RUN pip install --no-cache-dir -r requirements.txt
15
-
16
- # Expose Streamlit port
17
- EXPOSE 8501
18
-
19
- # Run Streamlit
20
- CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Install system dependencies
6
+ RUN apt-get update && apt-get install -y \
7
+ git \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
+ # Copy project files
11
+ COPY . /app
12
+
13
+ # Install Python dependencies
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
+
16
+ # Expose Streamlit port
17
+ EXPOSE 8501
18
+
19
+ # Run Streamlit
20
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]