Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -11,9 +11,10 @@ COPY requirements.txt .
|
|
| 11 |
RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
# Create writable cache directory for Hugging Face
|
| 14 |
-
|
| 15 |
-
ENV HF_HOME="/
|
| 16 |
-
ENV
|
|
|
|
| 17 |
|
| 18 |
# Copy app.py
|
| 19 |
COPY . .
|
|
|
|
| 11 |
RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
# Create writable cache directory for Hugging Face
|
| 14 |
+
|
| 15 |
+
ENV HF_HOME="/tmp/huggingface"
|
| 16 |
+
ENV HF_DATASETS_CACHE="/tmp/huggingface"
|
| 17 |
+
ENV TRANSFORMERS_CACHE="/tmp/huggingface"
|
| 18 |
|
| 19 |
# Copy app.py
|
| 20 |
COPY . .
|