KJ24 commited on
Commit
861f358
·
verified ·
1 Parent(s): dd1a0b9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -16,5 +16,8 @@ RUN pip install --no-cache-dir -r requirements.txt
16
  # Copier le reste du code
17
  COPY . .
18
 
 
 
 
19
  # Lancer l’API
20
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
16
  # Copier le reste du code
17
  COPY . .
18
 
19
+ # ✅ REDIRECTION DE HF_MODULES_CACHE
20
+ ENV HF_MODULES_CACHE=/data
21
+
22
  # Lancer l’API
23
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]