Fix: Set correct path for ImageMagick policy.xml in devcontainer setup

This commit is contained in:
Andy Grunwald 2025-02-21 19:05:46 +01:00
parent 3bf64ae7da
commit 0690d25139
No known key found for this signature in database
GPG Key ID: 4DF3757FE7EB0B6E

View File

@ -123,13 +123,13 @@ RUN set -eux \
WORKDIR /usr/src/paperless/src/docker/
COPY [ \
"docker/imagemagick-policy.xml", \
"docker/rootfs/etc/ImageMagick-6/paperless-policy.xml", \
"./" \
]
RUN set -eux \
&& echo "Configuring ImageMagick" \
&& mv imagemagick-policy.xml /etc/ImageMagick-6/policy.xml
&& mv paperless-policy.xml /etc/ImageMagick-6/policy.xml
# Packages needed only for building a few quick Python
# dependencies