Alibrown commited on
Commit
e4856a5
·
verified ·
1 Parent(s): c98ac2b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -9,5 +9,7 @@ COPY . .
9
 
10
  ENV PORT=7860
11
  ENV HF_SPACE=True
 
 
12
 
13
  CMD ["python", "app.py"]
 
9
 
10
  ENV PORT=7860
11
  ENV HF_SPACE=True
12
+ ENV MPLCONFIGDIR=/tmp/matplotlib-cache
13
+ RUN mkdir -p $MPLCONFIGDIR && chmod 777 $MPLCONFIGDIR
14
 
15
  CMD ["python", "app.py"]