Spaces:
Running
Running
abhisheksan
commited on
Commit
•
86e94f2
1
Parent(s):
1c1ca6d
Set HF_HOME environment variable for caching in Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -12,6 +12,7 @@ RUN apt-get update && apt-get install -y \
|
|
12 |
|
13 |
# Copy requirements first to leverage Docker cache
|
14 |
COPY requirements.txt .
|
|
|
15 |
|
16 |
# Install Python dependencies
|
17 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
12 |
|
13 |
# Copy requirements first to leverage Docker cache
|
14 |
COPY requirements.txt .
|
15 |
+
ENV HF_HOME="/tmp/poetica-cache"
|
16 |
|
17 |
# Install Python dependencies
|
18 |
RUN pip install --no-cache-dir -r requirements.txt
|