diff --git a/docker/cameleer-logto/logto-entrypoint.sh b/docker/cameleer-logto/logto-entrypoint.sh index 24a1589..7eb5a07 100644 --- a/docker/cameleer-logto/logto-entrypoint.sh +++ b/docker/cameleer-logto/logto-entrypoint.sh @@ -4,6 +4,9 @@ set -e echo "[entrypoint] Seeding Logto database..." npm run cli db seed -- --swe 2>/dev/null || true +echo "[entrypoint] Deploying database alterations..." +npm run cli db alteration deploy 2>/dev/null || true + echo "[entrypoint] Starting Logto..." npm start & LOGTO_PID=$!