zwq2018 commited on
Commit
29cf403
·
1 Parent(s): fc1c95e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -10,6 +10,8 @@ COPY ./requirements.txt /code/requirements.txt
10
 
11
  ENV FONTCONFIG_PATH /tmp
12
  ENV MPLCONFIGDIR /tmp
 
 
13
 
14
 
15
  # RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
 
10
 
11
  ENV FONTCONFIG_PATH /tmp
12
  ENV MPLCONFIGDIR /tmp
13
+ RUN mkdir -p /tmp/matplotlib_config /tmp/fontconfig && \
14
+ chmod -R 777 /tmp/matplotlib_config /tmp/fontconfig
15
 
16
 
17
  # RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install