Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -8,10 +8,10 @@ WORKDIR /app
|
|
8 |
COPY . /app
|
9 |
|
10 |
# Create the cache directory and set permissions
|
11 |
-
RUN mkdir -p /app/
|
12 |
|
13 |
# Set the HF_HOME environment variable
|
14 |
-
ENV HF_HOME=/app/
|
15 |
|
16 |
# Install any needed packages specified in requirements.txt
|
17 |
RUN pip install --no-cache-dir --upgrade pip
|
|
|
8 |
COPY . /app
|
9 |
|
10 |
# Create the cache directory and set permissions
|
11 |
+
RUN mkdir -p /app/cache && chmod 777 /app/cache
|
12 |
|
13 |
# Set the HF_HOME environment variable
|
14 |
+
ENV HF_HOME=/app/cache
|
15 |
|
16 |
# Install any needed packages specified in requirements.txt
|
17 |
RUN pip install --no-cache-dir --upgrade pip
|