15 lines
318 B
Bash
15 lines
318 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "=== MPC Service Starting ==="
|
|
echo "Running database migrations..."
|
|
|
|
# Sync database schema (use db push for flexibility with schema changes)
|
|
npx prisma db push --skip-generate
|
|
|
|
echo "Database migrations completed"
|
|
echo "Starting application..."
|
|
|
|
# Start the application
|
|
exec node dist/main.js
|