diff --git a/docker/init.sh b/docker/init.sh index 132a943796..402b1f59af 100644 --- a/docker/init.sh +++ b/docker/init.sh @@ -52,5 +52,11 @@ fi cd ${INVENTREE_HOME} +# Check for database updates +if($2 == 'server') then + echo "Running database update checks" + source ./execute.sh +fi + # Launch the CMD *after* the ENTRYPOINT completes exec "$@"