pengdaqian commited on
Commit
910e206
1 Parent(s): 61379c6

warm up model

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -3,7 +3,8 @@ FROM python:3.8
3
  COPY requirements.txt requirements.txt
4
  RUN pip3 install -r requirements.txt
5
 
6
- ENV TRANSFORMERS_CACHE /var/cache/transformers
 
7
 
8
  WORKDIR $HOME/app
9
 
 
3
  COPY requirements.txt requirements.txt
4
  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