rwadurian/backend/services/mpc-service/docker-entrypoint.sh

15 lines
264 B
Bash

#!/bin/sh
set -e
echo "=== MPC Service Starting ==="
echo "Running database migrations..."
# Run Prisma migrations
npx prisma migrate deploy
echo "Migrations completed successfully"
echo "Starting application..."
# Start the application
exec node dist/main.js