IZERE HIRWA Roger commited on
Commit
107d90e
·
1 Parent(s): 2068bd7
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,7 +1,10 @@
1
- FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
 
 
 
5
  COPY requirements.txt .
6
  RUN pip install -r requirements.txt
7
 
 
1
+ FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
5
+ # Ensure modern pip/setuptools/wheel before installing heavy requirements
6
+ RUN python -m pip install --upgrade pip setuptools wheel
7
+
8
  COPY requirements.txt .
9
  RUN pip install -r requirements.txt
10