Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -3,8 +3,8 @@ FROM python:3.9-slim
|
|
| 3 |
# Set working directory
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
-
# Create
|
| 7 |
-
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
| 8 |
|
| 9 |
# Set environment variable for Hugging Face cache
|
| 10 |
ENV TRANSFORMERS_CACHE=/app/cache
|
|
|
|
| 3 |
# Set working directory
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
+
# Create cache and db directories and set permissions
|
| 7 |
+
RUN mkdir -p /app/cache /app/db && chmod -R 777 /app/cache /app/db
|
| 8 |
|
| 9 |
# Set environment variable for Hugging Face cache
|
| 10 |
ENV TRANSFORMERS_CACHE=/app/cache
|