Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -24,7 +24,8 @@ USER user
|
|
| 24 |
# Install Python deps from lock file so Space matches local versions (no GPU at build time)
|
| 25 |
COPY --chown=user requirements-lock.txt .
|
| 26 |
RUN pip install --no-cache-dir --upgrade pip \
|
| 27 |
-
&& pip install --no-cache-dir -r requirements-lock.txt
|
|
|
|
| 28 |
|
| 29 |
# App code (refs/ and code)
|
| 30 |
COPY --chown=user . .
|
|
|
|
| 24 |
# Install Python deps from lock file so Space matches local versions (no GPU at build time)
|
| 25 |
COPY --chown=user requirements-lock.txt .
|
| 26 |
RUN pip install --no-cache-dir --upgrade pip \
|
| 27 |
+
&& pip install --no-cache-dir -r requirements-lock.txt \
|
| 28 |
+
&& pip uninstall -y accelerate
|
| 29 |
|
| 30 |
# App code (refs/ and code)
|
| 31 |
COPY --chown=user . .
|