From 6adc12d6da99ee8bd22ec38b75d347150babfc11 Mon Sep 17 00:00:00 2001 From: Bas van Boven Date: Sat, 30 Oct 2021 13:58:26 +0200 Subject: [PATCH] Update entrypoint.sh --- docker/entrypoint.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 850a97c8..6a1ffcb6 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -6,4 +6,9 @@ then export PULSE_COOKIE=$HOME/pulse.cookie fi -exec "$@" \ No newline at end of file +if [ ${PIP_PACKAGES:+x} ]; then + echo "-- INSTALLING PIP PACKAGES $PIP_PACKAGES --" + python3 -m pip install --no-cache $PIP_PACKAGES +fi + +exec "$@"