Spaces:
Runtime error
Runtime error
pengdaqian
commited on
Commit
•
910e206
1
Parent(s):
61379c6
warm up model
Browse files- 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 |
-
|
|
|
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 |
|