Spaces:
Sleeping
Sleeping
Commit
·
8086503
1
Parent(s):
2f54c6b
not much
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,9 @@ FROM python:3.11-slim
|
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
# Copy requirements and install
|
| 8 |
COPY requirements.txt .
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# Set HF cache inside container
|
| 8 |
+
ENV HF_HUB_CACHE=/app/hf_cache
|
| 9 |
+
|
| 10 |
# Copy requirements and install
|
| 11 |
COPY requirements.txt .
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|