Spaces:
Runtime error
Runtime error
Commit ·
7fbbdc4
1
Parent(s): 77e6588
cache
Browse files- Dockerfile +4 -1
- app/cache/text.txt +0 -0
Dockerfile
CHANGED
|
@@ -1,8 +1,11 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
-
# Set
|
| 4 |
ENV HF_HOME=/app/cache
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
WORKDIR /app
|
| 7 |
|
| 8 |
COPY requirements.txt .
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
+
# Set Hugging Face cache directory
|
| 4 |
ENV HF_HOME=/app/cache
|
| 5 |
|
| 6 |
+
# Create the cache directory and ensure permissions
|
| 7 |
+
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
| 8 |
+
|
| 9 |
WORKDIR /app
|
| 10 |
|
| 11 |
COPY requirements.txt .
|
app/cache/text.txt
DELETED
|
File without changes
|