helal94hb1 commited on
Commit
a48b234
·
1 Parent(s): 5415e8c

feat: Update application with new changes12

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -2,9 +2,9 @@ FROM python:3.11-slim
2
 
3
  WORKDIR /code
4
 
5
- # --- ADDED: Set the environment variable for the cache ---
6
- # This tells all Hugging Face libraries to use a local, writable directory.
7
- ENV TRANSFORMERS_CACHE="/code/data/cache"
8
 
9
  COPY ./requirements.txt /code/requirements.txt
10
 
 
2
 
3
  WORKDIR /code
4
 
5
+ # --- MODIFIED: Use the correct, modern environment variable ---
6
+ # This tells ALL Hugging Face libraries where to store cache files.
7
+ ENV HF_HOME="/code/data/cache"
8
 
9
  COPY ./requirements.txt /code/requirements.txt
10