Full Next.js 15 platform with tRPC, Prisma, PostgreSQL, NextAuth. Includes production Dockerfile (multi-stage, port 7600), docker-compose with registry-based image pull, Gitea Actions CI workflow, nginx config for portal.monaco-opc.com, deployment scripts, and DEPLOYMENT.md guide. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
9 lines
142 B
Bash
9 lines
142 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "==> Running database migrations..."
|
|
npx prisma migrate deploy
|
|
|
|
echo "==> Starting application..."
|
|
exec node server.js
|