mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
fixes #201
This commit is contained in:
parent
7f88c7d70c
commit
64b176103e
@ -62,6 +62,14 @@ RUN apt-get update \
|
|||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& mkdir /var/log/supervisord /var/run/supervisord
|
&& mkdir /var/log/supervisord /var/run/supervisord
|
||||||
|
|
||||||
|
# This pulls in updated dependencies from bullseye to fix some issues with file type detection.
|
||||||
|
# remove this once bullseye releases.
|
||||||
|
RUN echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list \
|
||||||
|
&& apt-get update \
|
||||||
|
&& apt-get install --no-install-recommends -y file \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& rm /etc/apt/sources.list.d/bullseye.list
|
||||||
|
|
||||||
# copy scripts
|
# copy scripts
|
||||||
# this fixes issues with imagemagick and PDF
|
# this fixes issues with imagemagick and PDF
|
||||||
COPY docker/imagemagick-policy.xml /etc/ImageMagick-6/policy.xml
|
COPY docker/imagemagick-policy.xml /etc/ImageMagick-6/policy.xml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user