diff --git a/Dockerfile b/Dockerfile index a0e9cb0791f..88622fe7c01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,9 @@ RUN apt-get update && apt-get install -y \ curl -sL "https://deb.nodesource.com/setup_16.x" | bash - && \ apt-get install -y nodejs yarn +#cf https://imagetragick.com/ +ADD image_magick_policy.xml /etc/ImageMagick-6/policy.xml + ENV INSTALL_PATH /app RUN mkdir -p ${INSTALL_PATH} WORKDIR ${INSTALL_PATH} diff --git a/image_magick_policy.xml b/image_magick_policy.xml new file mode 100644 index 00000000000..6b2dcaed8cb --- /dev/null +++ b/image_magick_policy.xml @@ -0,0 +1,102 @@ + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +