1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-17 20:01:44 +02:00

use pdm sync instead of pdm install in docker

This commit is contained in:
Nick Sweeting
2023-10-31 00:30:27 -07:00
parent 479a6f44ea
commit b87af19235

View File

@@ -217,7 +217,7 @@ RUN echo "[+] Installing PIP ArchiveBox dependencies..." \
&& apt-get install -qq -y -t bookworm-backports --no-install-recommends \
build-essential libssl-dev libldap2-dev libsasl2-dev \
&& pdm use -f $GLOBAL_VENV \
&& pdm install --fail-fast --no-lock --no-editable --group :all --no-self \
&& pdm sync --fail-fast --no-lock --no-editable --group :all --no-self \
&& apt-get purge -y \
build-essential libssl-dev libldap2-dev libsasl2-dev \
# these are only needed to build CPython libs, we discard after build phase to shrink layer size