krstakis commited on
Commit
a6f64da
·
1 Parent(s): 280c554

updated dockerfile for caching

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -29,5 +29,9 @@ WORKDIR /app
29
 
30
  COPY . .
31
 
 
 
 
 
32
  EXPOSE 9999
33
  ENTRYPOINT ["python", "run.py"]
 
29
 
30
  COPY . .
31
 
32
+ RUN mkdir -p /app/cache && chmod -R 777 /app/cache
33
+
34
+ ENV TRANSFORMERS_CACHE=/app/cache
35
+
36
  EXPOSE 9999
37
  ENTRYPOINT ["python", "run.py"]