diff --git a/Dockerfile b/Dockerfile index 135c2ae..496726c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,7 @@ RUN \ libxml2-dev \ libxslt1-dev \ libzmq3-dev \ + libmagic-dev \ curl \ file \ git \ @@ -78,7 +79,8 @@ RUN python3 -m venv /app \ && pip3 install --no-cache ldap3 \ && pip3 install --no-cache flask-ldap3-login \ && pip3 install --no-cache --upgrade tzdata \ - && pip3 install --no-cache --upgrade netifaces-plus + && pip3 install --no-cache --upgrade netifaces-plus \ + && pip3 install --no-cache python-magic RUN echo "**** download calibre-web ****" 1>&2 \ && if [ -z ${CALIBREWEB_RELEASE} ]; then \ @@ -144,6 +146,7 @@ RUN apt-get install --no-install-recommends -y \ libsasl2-2 \ libxml2 \ libxslt1.1 \ + libmagic1 \ ca-certificates \ imagemagick \ calibre \