AKIRA commited on
Commit
21dc720
·
1 Parent(s): ea05603

Fix: Set HF_HOME to /tmp/.cache to resolve persistent PermissionError

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