t-Shr commited on
Commit
ac891ab
·
verified ·
1 Parent(s): eb129d7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -12,6 +12,8 @@ RUN apt-get update && apt-get install -y \
12
  COPY requirements.txt ./
13
  COPY src/ ./src/
14
 
 
 
15
  ENV TRANSFORMERS_CACHE=/app/hf_cache
16
  ENV HF_HOME=/app/hf_cache
17
  RUN pip3 install -r requirements.txt
 
12
  COPY requirements.txt ./
13
  COPY src/ ./src/
14
 
15
+ RUN mkdir -p /app/hf_cache && chmod -R 777 /app/hf_cache
16
+
17
  ENV TRANSFORMERS_CACHE=/app/hf_cache
18
  ENV HF_HOME=/app/hf_cache
19
  RUN pip3 install -r requirements.txt