Chittrarasu commited on
Commit
e6fbd73
·
1 Parent(s): f4eb83a
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -6,6 +6,8 @@ WORKDIR /app
6
 
7
  # Copy all files to the container
8
  COPY . /app
 
 
9
 
10
  # Install dependencies
11
  RUN pip install --no-cache-dir -r Requirements.txt
 
6
 
7
  # Copy all files to the container
8
  COPY . /app
9
+ ENV TRANSFORMERS_CACHE=/app/.cache
10
+ RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
11
 
12
  # Install dependencies
13
  RUN pip install --no-cache-dir -r Requirements.txt