Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -5,8 +5,8 @@ WORKDIR /app
|
|
5 |
COPY requirements.txt .
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
|
8 |
-
# Create writable cache directory
|
9 |
-
RUN mkdir -p /app/hf_cache
|
10 |
|
11 |
COPY app.py .
|
12 |
|
|
|
5 |
COPY requirements.txt .
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
|
8 |
+
# ✅ Create a writable Hugging Face cache directory
|
9 |
+
RUN mkdir -p /app/hf_cache && chmod -R 777 /app/hf_cache
|
10 |
|
11 |
COPY app.py .
|
12 |
|