Spaces:
Sleeping
Sleeping
We have update the Dockerfile given that there was a problem with the HuggingFace's cache directory
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -10,6 +10,9 @@ RUN apt-get update && \
|
|
| 10 |
# Set the working directory in the container
|
| 11 |
WORKDIR /app
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
# Copy the requirements file into the container
|
| 14 |
COPY requirements.txt .
|
| 15 |
|
|
|
|
| 10 |
# Set the working directory in the container
|
| 11 |
WORKDIR /app
|
| 12 |
|
| 13 |
+
# There was a problem with the permission of the HuggingFace's cache directory, so we changed the path to another that should be writeable.
|
| 14 |
+
ENV TRANSFORMERS_CACHE=/app/cache
|
| 15 |
+
|
| 16 |
# Copy the requirements file into the container
|
| 17 |
COPY requirements.txt .
|
| 18 |
|