Spaces:
Sleeping
Sleeping
kasper-boy
commited on
Commit
•
aec873f
1
Parent(s):
17eceab
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -6,14 +6,13 @@ WORKDIR /app
|
|
6 |
|
7 |
# Create a writable cache directory
|
8 |
RUN mkdir -p /app/.cache/huggingface
|
9 |
-
ENV
|
10 |
|
11 |
# Copy the requirements file into the container
|
12 |
COPY requirements.txt requirements.txt
|
13 |
|
14 |
# Install dependencies
|
15 |
RUN pip install --no-cache-dir -r requirements.txt
|
16 |
-
# RUN pip install -r requirements.txt
|
17 |
|
18 |
# Copy the rest of the application code into the container
|
19 |
COPY . .
|
|
|
6 |
|
7 |
# Create a writable cache directory
|
8 |
RUN mkdir -p /app/.cache/huggingface
|
9 |
+
ENV HF_HOME=/app/.cache/huggingface
|
10 |
|
11 |
# Copy the requirements file into the container
|
12 |
COPY requirements.txt requirements.txt
|
13 |
|
14 |
# Install dependencies
|
15 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
16 |
|
17 |
# Copy the rest of the application code into the container
|
18 |
COPY . .
|