Remove --no-deps to allow installing sub-dependencies like regex
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -36,7 +36,7 @@ RUN pip install --no-cache-dir torch==2.5.1 --extra-index-url https://download.p
|
|
| 36 |
|
| 37 |
# Install training deps (only re-runs if training reqs change)
|
| 38 |
COPY --chown=user requirements-training.txt .
|
| 39 |
-
RUN pip install --no-cache-dir --upgrade -
|
| 40 |
|
| 41 |
# --- Application code (selective COPY for lean images) ---
|
| 42 |
# Core Python modules
|
|
|
|
| 36 |
|
| 37 |
# Install training deps (only re-runs if training reqs change)
|
| 38 |
COPY --chown=user requirements-training.txt .
|
| 39 |
+
RUN pip install --no-cache-dir --upgrade -r requirements-training.txt
|
| 40 |
|
| 41 |
# --- Application code (selective COPY for lean images) ---
|
| 42 |
# Core Python modules
|