Logo
Explore Help
Register Sign In
MOPC/MOPC-Portal
1
0
Fork 0
You've already forked MOPC-Portal
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
04d0deced1f41f49081858c771dc4f9aea1617c6
MOPC-Portal/docker/docker-entrypoint.sh

9 lines
142 B
Bash
Raw Normal View History

Initial commit: MOPC platform with Docker deployment setup 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>
2026-01-30 13:41:32 +01:00
#!/bin/sh
set -e
echo "==> Running database migrations..."
Fix: copy full node_modules into runner for prisma/seed support Cherry-picking individual prisma modules fails due to transitive deps (effect, @prisma/config, etc). Copy full node_modules instead. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 18:51:37 +01:00
npx prisma migrate deploy
Initial commit: MOPC platform with Docker deployment setup 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>
2026-01-30 13:41:32 +01:00
echo "==> Starting application..."
exec node server.js
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 24ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API