Spaces:
Sleeping
Sleeping
PalDPathak404 commited on
Commit ·
6899612
1
Parent(s): d93da59
Fix ModuleNotFoundError: Use standard pip instead of uv
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -14,8 +14,8 @@ WORKDIR $HOME/app
|
|
| 14 |
# Copy requirements file first to maximize Docker layer caching
|
| 15 |
COPY --chown=user requirements.txt .
|
| 16 |
|
| 17 |
-
# Use
|
| 18 |
-
RUN
|
| 19 |
|
| 20 |
# Copy the rest of the application with proper ownership
|
| 21 |
COPY --chown=user . $HOME/app
|
|
|
|
| 14 |
# Copy requirements file first to maximize Docker layer caching
|
| 15 |
COPY --chown=user requirements.txt .
|
| 16 |
|
| 17 |
+
# Use standard pip to install packages reliably
|
| 18 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
# Copy the rest of the application with proper ownership
|
| 21 |
COPY --chown=user . $HOME/app
|