Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,9 @@ WORKDIR /app
|
|
| 7 |
# Set the cache directory for Hugging Face models
|
| 8 |
ENV HF_HOME /app/cache
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
# Copy the requirements file into the container
|
| 11 |
COPY requirements.txt .
|
| 12 |
|
|
|
|
| 7 |
# Set the cache directory for Hugging Face models
|
| 8 |
ENV HF_HOME /app/cache
|
| 9 |
|
| 10 |
+
# Create the cache directory and grant permissions
|
| 11 |
+
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
| 12 |
+
|
| 13 |
# Copy the requirements file into the container
|
| 14 |
COPY requirements.txt .
|
| 15 |
|