12 lines
241 B
Bash
12 lines
241 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "[entrypoint] Migrationen werden angewendet..."
|
|
npx prisma migrate deploy
|
|
|
|
echo "[entrypoint] Admin-Benutzer wird geprüft..."
|
|
node scripts/setup-admin.cjs
|
|
|
|
echo "[entrypoint] App wird gestartet..."
|
|
exec npm run start
|