fix(mpc-service): use docker-entrypoint.sh instead of inline script

- Restore Dockerfile to use external docker-entrypoint.sh file
- The inline echo script caused issues on Linux (start.sh not created properly)
- Change from prisma migrate deploy to prisma db push for schema flexibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-09 02:54:11 -08:00
parent 27bd9d9d0a
commit 40c78a471d
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ set -e
echo "=== MPC Service Starting ==="
echo "Running database migrations..."
# Run migrations (standard production approach - fail if migration fails)
npx prisma migrate deploy
# Sync database schema (use db push for flexibility with schema changes)
npx prisma db push --skip-generate
echo "Database migrations completed"
echo "Starting application..."