Chittrarasu commited on
Commit
360f4e6
·
1 Parent(s): 50ab210
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -8,6 +8,9 @@ WORKDIR /app
8
  COPY app.py /app/
9
  COPY requirements.txt /app/
10
 
 
 
 
11
  # Install dependencies
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
 
8
  COPY app.py /app/
9
  COPY requirements.txt /app/
10
 
11
+ # Create a writable cache directory for Hugging Face
12
+ ENV HF_HOME=/app/hf_cache
13
+ RUN mkdir -p /app/hf_cache
14
  # Install dependencies
15
  RUN pip install --no-cache-dir -r requirements.txt
16