Antigravity AI commited on
Commit ·
eb10d75
1
Parent(s): 864294b
fix: rigorously force numpy<2.0.0 in pip to prevent implicit upgrades to numpy 2.2.6
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -35,8 +35,8 @@ RUN sed -i '/numpy/d' requirements.txt && \
|
|
| 35 |
|
| 36 |
# On installe explicitement PyTorch pour CPU d'abord pour gagner en espace et en stabilité
|
| 37 |
RUN pip install --no-cache-dir torch==2.1.2+cpu --index-url https://download.pytorch.org/whl/cpu
|
| 38 |
-
RUN pip install --no-cache-dir "setuptools<70.0.0" wheel && \
|
| 39 |
-
pip install --no-cache-dir -r requirements.txt
|
| 40 |
|
| 41 |
# Dossier modèle et script
|
| 42 |
RUN mkdir -p /app/models
|
|
|
|
| 35 |
|
| 36 |
# On installe explicitement PyTorch pour CPU d'abord pour gagner en espace et en stabilité
|
| 37 |
RUN pip install --no-cache-dir torch==2.1.2+cpu --index-url https://download.pytorch.org/whl/cpu
|
| 38 |
+
RUN pip install --no-cache-dir "setuptools<70.0.0" "numpy<2.0.0" wheel && \
|
| 39 |
+
pip install --no-cache-dir -r requirements.txt "numpy<2.0.0"
|
| 40 |
|
| 41 |
# Dossier modèle et script
|
| 42 |
RUN mkdir -p /app/models
|