Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -5,8 +5,8 @@ FROM python:3.9
|
|
5 |
WORKDIR /app
|
6 |
|
7 |
# Set environment variables for Hugging Face cache
|
8 |
-
ENV HF_HOME=/
|
9 |
-
RUN mkdir -p /
|
10 |
|
11 |
# Install system dependencies
|
12 |
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
|
|
5 |
WORKDIR /app
|
6 |
|
7 |
# Set environment variables for Hugging Face cache
|
8 |
+
ENV HF_HOME=/app/cache
|
9 |
+
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
10 |
|
11 |
# Install system dependencies
|
12 |
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|