hackergeek98 commited on
Commit
221c9ad
·
verified ·
1 Parent(s): 68ec248

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -19
Dockerfile CHANGED
@@ -1,23 +1,6 @@
1
- # Use a lightweight Python base image
2
  FROM python:3.10-slim
3
-
4
- # Install system dependencies
5
- RUN apt-get update && apt-get install -y \
6
- git \
7
- curl \
8
- cmake \
9
- build-essential \
10
- libopenblas-dev \
11
- && rm -rf /var/lib/apt/lists/*
12
-
13
  WORKDIR /app
14
-
15
- # Upgrade pip and install setuptools
16
- RUN pip install --no-cache-dir --upgrade pip setuptools
17
-
18
- # Install Python requirements
19
- COPY requirements.txt .
20
- RUN pip install --no-cache-dir -r requirements.txt
21
-
22
  COPY . .
 
23
  CMD ["python3", "app.py"]
 
 
1
  FROM python:3.10-slim
2
+ RUN apt-get update && apt-get install -y git curl cmake build-essential
 
 
 
 
 
 
 
 
 
3
  WORKDIR /app
 
 
 
 
 
 
 
 
4
  COPY . .
5
+ RUN pip install --no-cache-dir -r requirements.txt
6
  CMD ["python3", "app.py"]