rogerxavier commited on
Commit
47471cd
1 Parent(s): 454b7dc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -5,6 +5,7 @@ RUN apt update && apt install -y libgl1-mesa-glx
5
  ##安装imagemagic ,linux使用convert路径即可
6
  RUN apt install -y imagemagick
7
  ENV IMAGEMAGICK_BINARY=/usr/bin/convert
 
8
  ##安装imagemagic
9
 
10
  RUN pip install -U pip
 
5
  ##安装imagemagic ,linux使用convert路径即可
6
  RUN apt install -y imagemagick
7
  ENV IMAGEMAGICK_BINARY=/usr/bin/convert
8
+ RUN sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml
9
  ##安装imagemagic
10
 
11
  RUN pip install -U pip