Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fixes #201

jonaswinkler64b176103eb6
diff --git a/Dockerfile b/Dockerfile
index 789a15641..1d12e7785 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -62,6 +62,14 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* \
&& 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
# this fixes issues with imagemagick and PDF
COPY docker/imagemagick-policy.xml /etc/ImageMagick-6/policy.xml