ccoreilly commited on
Commit
bfa1ccb
1 Parent(s): 7f0cc16

Writable cache dirs

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -15,6 +15,12 @@ COPY app.py .
15
 
16
  RUN pip install -r requirements.txt
17
 
 
 
 
 
 
 
18
  EXPOSE 7860
19
 
20
  CMD python app.py
 
15
 
16
  RUN pip install -r requirements.txt
17
 
18
+ RUN mkdir -p cache
19
+
20
+ ENV NUMBA_CACHE_DIR=./cache
21
+ ENV MPLCONFIGDIR=./cache
22
+
23
+
24
  EXPOSE 7860
25
 
26
  CMD python app.py