gordonchan commited on
Commit
22fea28
·
verified ·
1 Parent(s): 07f57e9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -2,7 +2,8 @@ FROM ghcr.io/foxioat/aicard:main
2
 
3
 
4
  WORKDIR /app
5
- RUN mkdir -p /.config/matplotlib && chmod 777 -R /.config/matplotlib
 
6
  EXPOSE 7860
7
 
8
  ENTRYPOINT ["python3", "app.py"]
 
2
 
3
 
4
  WORKDIR /app
5
+ ENV MPLCONFIGDIR=./cache
6
+ RUN mkdir ./cache && chmod 777 -R ./cache
7
  EXPOSE 7860
8
 
9
  ENTRYPOINT ["python3", "app.py"]