carservice: initial commit
Build and publish images / docker (push) Canceled after 0s

This commit is contained in:
Hermes
2026-07-20 20:51:23 +01:00
commit f7a9906add
77 changed files with 9403 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env sh
set -e
# If the SQLite DB file does not exist, initialise schema and seed
DB_PATH="/app/prisma/dev.db"
if [ ! -f "$DB_PATH" ]; then
echo "Database not found — initialising..."
npx prisma db push --accept-data-loss
node prisma/seed-auth.js
echo "Database ready."
fi
# Start the Next.js server
exec node server.js