houssamDev commited on
Commit
47e6be3
·
verified ·
1 Parent(s): fb2ecab

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -15,6 +15,9 @@ COPY requirements.txt .
15
  COPY app.py .
16
 
17
  RUN pip3 install -r requirements.txt
 
 
 
18
 
19
  EXPOSE 8501
20
 
 
15
  COPY app.py .
16
 
17
  RUN pip3 install -r requirements.txt
18
+ RUN mkdir -p /app/cache && chmod 777 /app/cache
19
+
20
+ ENV TRANSFORMERS_CACHE=/app/cache
21
 
22
  EXPOSE 8501
23