Spaces:
Sleeping
Sleeping
cache permission added in docker file
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -2,6 +2,10 @@ FROM python:3.10
|
|
| 2 |
|
| 3 |
WORKDIR /antibody-database
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
# Copy requirements first for better caching
|
| 6 |
COPY requirements.txt .
|
| 7 |
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /antibody-database
|
| 4 |
|
| 5 |
+
# Create cache directories with full permissions
|
| 6 |
+
RUN mkdir -p /.cache/huggingface && \
|
| 7 |
+
chmod -R 777 /.cache
|
| 8 |
+
|
| 9 |
# Copy requirements first for better caching
|
| 10 |
COPY requirements.txt .
|
| 11 |
|