]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Install all wheels in the dir instead of specific names
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Thu, 8 Dec 2022 20:30:20 +0000 (12:30 -0800)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Thu, 8 Dec 2022 20:30:20 +0000 (12:30 -0800)
Dockerfile

index a1f57724305036b18b256404de79205e16ea1655..32598c4839e08b14aaf13a0dc4d9d78408580345 100644 (file)
@@ -45,7 +45,7 @@ COPY Pipfile* ./
 
 RUN set -eux \
   && echo "Installing pipenv" \
-    && python3 -m pip install --no-cache-dir --upgrade pipenv \
+    && python3 -m pip install --no-cache-dir --upgrade pipenv==2022.10.12 \
   && echo "Generating requirement.txt" \
     && pipenv requirements > requirements.txt
 
@@ -197,11 +197,7 @@ RUN --mount=type=bind,from=qpdf-builder,target=/qpdf \
     && apt-get install --yes --no-install-recommends /qpdf/usr/src/qpdf/libqpdf29_*.deb \
     && apt-get install --yes --no-install-recommends /qpdf/usr/src/qpdf/qpdf_*.deb \
   && echo "Installing pikepdf and dependencies" \
-    && python3 -m pip install --no-cache-dir /pikepdf/usr/src/wheels/pyparsing*.whl \
-    && python3 -m pip install --no-cache-dir /pikepdf/usr/src/wheels/packaging*.whl \
-    && python3 -m pip install --no-cache-dir /pikepdf/usr/src/wheels/lxml*.whl \
-    && python3 -m pip install --no-cache-dir /pikepdf/usr/src/wheels/Pillow*.whl \
-    && python3 -m pip install --no-cache-dir /pikepdf/usr/src/wheels/pikepdf*.whl \
+    && python3 -m pip install --no-cache-dir /pikepdf/usr/src/wheels/*.whl \
     && python3 -m pip list \
   && echo "Installing psycopg2" \
     && python3 -m pip install --no-cache-dir /psycopg2/usr/src/wheels/psycopg2*.whl \