pengdaqian commited on
Commit
4fdf8bd
1 Parent(s): 910e206

warm up model

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -5,6 +5,7 @@ RUN pip3 install -r requirements.txt
5
 
6
  RUN mkdir $HOME/app/cache/transformers
7
  ENV TRANSFORMERS_CACHE $HOME/app/cache/transformers
 
8
 
9
  WORKDIR $HOME/app
10
 
 
5
 
6
  RUN mkdir $HOME/app/cache/transformers
7
  ENV TRANSFORMERS_CACHE $HOME/app/cache/transformers
8
+ ENV HF_HOME $HOME/app/cache/transformers
9
 
10
  WORKDIR $HOME/app
11