ikechan8370 commited on
Commit
ed29561
1 Parent(s): d7b80a5

fix: cache

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -2,6 +2,10 @@ FROM python:3.9
2
 
3
  WORKDIR /code
4
 
 
 
 
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y -y
 
2
 
3
  WORKDIR /code
4
 
5
+ ENV TRANSFORMERS_CACHE=/code/.cache
6
+
7
+ RUN mkdir /code/.cache
8
+
9
  COPY ./requirements.txt /code/requirements.txt
10
 
11
  RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y -y