rogerxavier
commited on
Commit
•
4bd774d
1
Parent(s):
44adc57
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -10,6 +10,7 @@ ENV IMAGEMAGICK_BINARY=/usr/bin/convert
|
|
10 |
#RUN sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml
|
11 |
#自定义policy防止限制
|
12 |
RUN cp -f ./custom-imagemagick-policy.yml /etc/ImageMagick-6/policy.xml
|
|
|
13 |
##安装imagemagic
|
14 |
|
15 |
RUN pip install -U pip
|
|
|
10 |
#RUN sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml
|
11 |
#自定义policy防止限制
|
12 |
RUN cp -f ./custom-imagemagick-policy.yml /etc/ImageMagick-6/policy.xml
|
13 |
+
RUN sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml
|
14 |
##安装imagemagic
|
15 |
|
16 |
RUN pip install -U pip
|