ankban commited on
Commit
3d846b2
·
verified ·
1 Parent(s): e3e16dc

update dockerfile to /tmp

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -5,9 +5,9 @@ RUN apt update && \
5
  apt clean
6
 
7
  # Set Hugging Face and model cache dirs to a writable location
8
- ENV HF_HOME=/data/hf
9
- ENV TRANSFORMERS_CACHE=/data/hf
10
- ENV XDG_CACHE_HOME=/data/hf
11
  ENV MPLCONFIGDIR=/tmp/matplotlib
12
 
13
  RUN mkdir -p /data/hf && chmod -R 777 /data/hf
 
5
  apt clean
6
 
7
  # Set Hugging Face and model cache dirs to a writable location
8
+ ENV HF_HOME=/tmp/hf
9
+ ENV TRANSFORMERS_CACHE=/tmp/hf
10
+ ENV XDG_CACHE_HOME=/tmp/hf
11
  ENV MPLCONFIGDIR=/tmp/matplotlib
12
 
13
  RUN mkdir -p /data/hf && chmod -R 777 /data/hf