Spaces:
Running
Running
Commit
·
1743056
1
Parent(s):
3330744
Fix pip cache error in HF Docker Space build
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -32,9 +32,7 @@ COPY requirements.txt .
|
|
| 32 |
|
| 33 |
# Install Python dependencies
|
| 34 |
RUN pip install --upgrade pip setuptools wheel && \
|
| 35 |
-
pip install -r requirements.txt
|
| 36 |
-
# Clean up to reduce image size
|
| 37 |
-
pip cache purge
|
| 38 |
|
| 39 |
# Copy application code
|
| 40 |
COPY . .
|
|
|
|
| 32 |
|
| 33 |
# Install Python dependencies
|
| 34 |
RUN pip install --upgrade pip setuptools wheel && \
|
| 35 |
+
pip install -r requirements.txt
|
|
|
|
|
|
|
| 36 |
|
| 37 |
# Copy application code
|
| 38 |
COPY . .
|