ADD: startup reworked

This commit is contained in:
hwinkel
2026-03-13 12:14:04 +01:00
parent 71ff97f302
commit 12d78f6532
3 changed files with 16 additions and 11 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -e
echo "[entrypoint] Migrationen werden angewendet..."
npx prisma migrate deploy
echo "[entrypoint] Admin-Benutzer wird geprüft..."
node scripts/setup-admin.js
echo "[entrypoint] App wird gestartet..."
exec npm run start