run database checks

only in server process
This commit is contained in:
Matthias Mair
2024-02-20 00:35:40 +01:00
parent 34a25863b5
commit 6c33c5f927

View File

@ -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 "$@"