Merge pull request #783 from BasVanBoven/master

Update docker/entrypoint.sh to allow for sideloading of PIP packages (e.g. additional mopidy plugins)
This commit is contained in:
James Barnsley
2021-11-20 12:13:39 +13:00
committed by GitHub

View File

@ -6,4 +6,9 @@ then
export PULSE_COOKIE=$HOME/pulse.cookie
fi
exec "$@"
if [ ${PIP_PACKAGES:+x} ]; then
echo "-- INSTALLING PIP PACKAGES $PIP_PACKAGES --"
python3 -m pip install --no-cache $PIP_PACKAGES
fi
exec "$@"