Merge pull request #897 from PureTryOut/docker-entrypoint-install-and-upgrade-pip

feat(docker): also update the specified pip packages rather than just installing them
This commit is contained in:
James Barnsley
2023-05-20 13:49:44 +12:00
committed by GitHub

View File

@ -8,7 +8,7 @@ fi
if [ ${PIP_PACKAGES:+x} ]; then
echo "-- INSTALLING PIP PACKAGES $PIP_PACKAGES --"
python3 -m pip install --no-cache $PIP_PACKAGES
python3 -m pip install --no-cache --upgrade $PIP_PACKAGES
fi
exec "$@"