WinterGYC commited on
Commit
732538e
1 Parent(s): 2218676
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -7,12 +7,14 @@ WORKDIR /code
7
 
8
  RUN chmod -R 777 /code
9
 
10
- RUN mkdir cache
11
 
12
  ENV TRANSFORMERS_CACHE=/code/cache
13
 
14
  ENV HF_MODULES_CACHE=/code/cache
15
 
 
 
16
  COPY ./requirements.txt /code/requirements.txt
17
 
18
  COPY ./app.py /code/app.py
 
7
 
8
  RUN chmod -R 777 /code
9
 
10
+ RUN mkdir /code/cache
11
 
12
  ENV TRANSFORMERS_CACHE=/code/cache
13
 
14
  ENV HF_MODULES_CACHE=/code/cache
15
 
16
+ ENV HUGGINGFACE_HUB_CACHE=/code/cache
17
+
18
  COPY ./requirements.txt /code/requirements.txt
19
 
20
  COPY ./app.py /code/app.py