Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,10 @@ WORKDIR /app
|
|
| 4 |
COPY requirements.txt .
|
| 5 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# Copy the rest of the app code
|
| 8 |
COPY . /app
|
| 9 |
|
|
|
|
| 4 |
COPY requirements.txt .
|
| 5 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
|
| 7 |
+
ENV HF_HOME=/tmp/huggingface \
|
| 8 |
+
TRANSFORMERS_CACHE=/tmp/huggingface \
|
| 9 |
+
HF_HUB_CACHE=/tmp/huggingface
|
| 10 |
+
|
| 11 |
# Copy the rest of the app code
|
| 12 |
COPY . /app
|
| 13 |
|