Fix: Quote numpy version in Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
# Dockerfile
|
| 2 |
FROM python:3.10-slim
|
| 3 |
|
| 4 |
WORKDIR /app
|
|
@@ -14,8 +13,9 @@ COPY requirements.txt .
|
|
| 14 |
|
| 15 |
# Install Python dependencies in CORRECT ORDER
|
| 16 |
# numpy MUST be first, before torch/torchaudio
|
| 17 |
-
RUN pip install --no-cache-dir numpy>=1.24.0,<2.0.0
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
# Copy application code
|
| 21 |
COPY . .
|
|
|
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
WORKDIR /app
|
|
|
|
| 13 |
|
| 14 |
# Install Python dependencies in CORRECT ORDER
|
| 15 |
# numpy MUST be first, before torch/torchaudio
|
| 16 |
+
RUN pip install --no-cache-dir "numpy>=1.24.0,<2.0.0"
|
| 17 |
+
|
| 18 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
# Copy application code
|
| 21 |
COPY . .
|