From 908bd7c90b6291266562bcae5811056548c3ac75 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 26 May 2020 13:08:36 -0400 Subject: [PATCH] Upgrade Pip packages on startup --- root/etc/cont-init.d/30-script-update.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root/etc/cont-init.d/30-script-update.bash b/root/etc/cont-init.d/30-script-update.bash index d553672..74b0d2b 100644 --- a/root/etc/cont-init.d/30-script-update.bash +++ b/root/etc/cont-init.d/30-script-update.bash @@ -12,4 +12,7 @@ if [[ "${UPDATE_SMA}" == "TRUE" ]]; then git -C ${SMA_PATH} pull origin master fi +# update pip3 requirements +pip3 install -r /usr/local/sma/setup/requirements.txt --upgrade + exit 0