Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -5,6 +5,9 @@ WORKDIR /app
|
|
5 |
COPY requirements.txt .
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
|
|
|
|
|
|
|
8 |
COPY app.py .
|
9 |
|
10 |
CMD ["python", "app.py"]
|
|
|
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 |
|
13 |
CMD ["python", "app.py"]
|