Rsnarsna commited on
Commit
48ea472
·
verified ·
1 Parent(s): 7143fb8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -2,6 +2,9 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
 
 
 
5
  COPY requirements.txt /app/
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
 
2
 
3
  WORKDIR /app
4
 
5
+ # Set environment variable to change cache directory
6
+ ENV HF_HOME=/app/.cache
7
+
8
  COPY requirements.txt /app/
9
  RUN pip install --no-cache-dir -r requirements.txt
10