Pulastya0 commited on
Commit
63bfc76
·
verified ·
1 Parent(s): 35e526a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -11,9 +11,10 @@ COPY requirements.txt .
11
  RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
12
 
13
  # Create writable cache directory for Hugging Face
14
- RUN mkdir -p /data/huggingface-cache
15
- ENV HF_HOME="/data/huggingface-cache"
16
- ENV TRANSFORMERS_CACHE="/data/huggingface-cache"
 
17
 
18
  # Copy app.py
19
  COPY . .
 
11
  RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
12
 
13
  # Create writable cache directory for Hugging Face
14
+
15
+ ENV HF_HOME="/tmp/huggingface"
16
+ ENV HF_DATASETS_CACHE="/tmp/huggingface"
17
+ ENV TRANSFORMERS_CACHE="/tmp/huggingface"
18
 
19
  # Copy app.py
20
  COPY . .