hackergeek98 commited on
Commit
c33ba24
·
verified ·
1 Parent(s): ab4f2a9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -11
Dockerfile CHANGED
@@ -1,19 +1,13 @@
1
  FROM python:3.10-slim
2
 
3
- # Install system dependencies
4
  RUN apt-get update && apt-get install -y \
5
- git \
6
- cmake \
7
- build-essential
8
 
9
  WORKDIR /app
10
-
11
- # Upgrade pip first
12
- RUN pip install --no-cache-dir --upgrade pip
13
-
14
- COPY requirements.txt .
15
- RUN pip install --no-cache-dir -r requirements.txt
16
-
17
  COPY . .
 
 
18
 
 
19
  CMD ["python3", "app.py"]
 
1
  FROM python:3.10-slim
2
 
 
3
  RUN apt-get update && apt-get install -y \
4
+ build-essential \
5
+ cmake
 
6
 
7
  WORKDIR /app
 
 
 
 
 
 
 
8
  COPY . .
9
+ RUN pip install --upgrade pip && \
10
+ pip install -r requirements.txt
11
 
12
+ EXPOSE 7860
13
  CMD ["python3", "app.py"]