Skip to content

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

update Dockerfile

jonaswinkler02e81f7ab594
diff --git a/Dockerfile b/Dockerfile
index f0112e529..686496475 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -41,7 +41,7 @@ RUN apt-get update \
libpq-dev \
libqpdf-dev \
libxml2 \
- libxslt-dev \
+ libxslt1-dev \
optipng \
pngquant \
qpdf \
@@ -55,9 +55,11 @@ RUN apt-get update \
tzdata \
unpaper \
zlib1g \
- && pip3 install --upgrade supervisor setuptools pipenv \
- && pipenv install --system --deploy --ignore-pipfile --clear \
- && apt-get -y purge build-essential libqpdf-dev \
+ && pip3 install --upgrade supervisor pipenv \
+ && pipenv install --system --deploy --ignore-pipfile \
+ && pipenv --clear \
+ && pip3 uninstall -y pipenv \
+ && apt-get -y purge build-essential libqpdf-dev libxslt1-dev \
&& apt-get -y autoremove --purge \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir /var/log/supervisord /var/run/supervisord