Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,9 @@ FROM python:3.10-slim
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /code
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
# Copy the requirements file into the container at /code
|
| 8 |
COPY ./requirements.txt /code/requirements.txt
|
| 9 |
|
|
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /code
|
| 6 |
|
| 7 |
+
# Set the Hugging Face cache directory to a writable location
|
| 8 |
+
ENV HF_HOME=/tmp/.cache/huggingface
|
| 9 |
+
|
| 10 |
# Copy the requirements file into the container at /code
|
| 11 |
COPY ./requirements.txt /code/requirements.txt
|
| 12 |
|