ShabazKnowde commited on
Commit
3b7796e
·
verified ·
1 Parent(s): 207c4a2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -7,6 +7,9 @@ COPY . .
7
  # Set the working directory to /
8
  WORKDIR /
9
 
 
 
 
10
  # Install requirements.txt
11
  RUN pip install --no-cache-dir --upgrade -r /requirements.txt
12
 
 
7
  # Set the working directory to /
8
  WORKDIR /
9
 
10
+ # Set the TRANSFORMERS_CACHE environment variable to a directory where the user has write permissions
11
+ ENV TRANSFORMERS_CACHE=/cache
12
+
13
  # Install requirements.txt
14
  RUN pip install --no-cache-dir --upgrade -r /requirements.txt
15