ReactLover commited on
Commit
d7b23d9
·
verified ·
1 Parent(s): 5bf4ffc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -1,5 +1,9 @@
1
  FROM python:3.10-slim
2
 
 
 
 
 
3
  WORKDIR /app
4
 
5
  COPY requirements.txt .
 
1
  FROM python:3.10-slim
2
 
3
+ # Set environment variables for writable cache location
4
+ ENV HF_HOME=/app/cache
5
+ ENV HF_HUB_CACHE=/app/cache/hub
6
+
7
  WORKDIR /app
8
 
9
  COPY requirements.txt .