Navya-Sree commited on
Commit
7eca7aa
·
verified ·
1 Parent(s): db022ea

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -10
Dockerfile CHANGED
@@ -1,25 +1,19 @@
1
  FROM python:3.13-slim
2
-
3
  WORKDIR /app
4
 
5
  RUN apt-get update && apt-get install -y \
6
- build-essential \
7
- curl \
8
- git \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
- # Copy packaging files so `pip install -e .` works
12
- COPY pyproject.toml ./
13
- COPY README.md ./
14
  COPY requirements.txt ./
 
 
15
  COPY src/ ./src/
16
  COPY app.py ./
17
  COPY run.py ./
18
 
19
  ENV PYTHONPATH=/app/src
20
 
21
-
22
- RUN pip install --no-cache-dir -r requirements.txt
23
-
24
  EXPOSE 8501
25
  CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=8501"]
 
 
1
  FROM python:3.13-slim
 
2
  WORKDIR /app
3
 
4
  RUN apt-get update && apt-get install -y \
5
+ build-essential curl git \
 
 
6
  && rm -rf /var/lib/apt/lists/*
7
 
 
 
 
8
  COPY requirements.txt ./
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
  COPY src/ ./src/
12
  COPY app.py ./
13
  COPY run.py ./
14
 
15
  ENV PYTHONPATH=/app/src
16
 
 
 
 
17
  EXPOSE 8501
18
  CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=8501"]
19
+