Spaces:
Build error
Build error
Commit ·
b15dbc8
1
Parent(s): 4e11e98
Add hf_transfer package for faster model downloads
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -12,7 +12,8 @@ RUN apt-get update && apt-get install -y \
|
|
| 12 |
COPY requirements.txt .
|
| 13 |
|
| 14 |
# Install Python dependencies
|
| 15 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 16 |
|
| 17 |
# Copy the rest of the application
|
| 18 |
COPY . .
|
|
|
|
| 12 |
COPY requirements.txt .
|
| 13 |
|
| 14 |
# Install Python dependencies
|
| 15 |
+
RUN pip install --no-cache-dir -r requirements.txt && \
|
| 16 |
+
pip install --no-cache-dir hf_transfer
|
| 17 |
|
| 18 |
# Copy the rest of the application
|
| 19 |
COPY . .
|