Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -6,12 +6,10 @@ COPY requirements.txt .
|
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
|
8 |
COPY app.py .
|
9 |
-
COPY ./data /data
|
|
|
10 |
|
11 |
-
# Create a writable cache directory
|
12 |
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
13 |
-
|
14 |
-
# Set environment variables for huggingface_hub and transformers
|
15 |
ENV HF_HOME=/app/cache
|
16 |
ENV TRANSFORMERS_CACHE=/app/cache
|
17 |
|
|
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
|
8 |
COPY app.py .
|
9 |
+
COPY ./data /app/data
|
10 |
+
RUN ls -la /app/data
|
11 |
|
|
|
12 |
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
|
|
|
|
13 |
ENV HF_HOME=/app/cache
|
14 |
ENV TRANSFORMERS_CACHE=/app/cache
|
15 |
|