#!/bin/sh set -e # Start the Yjs sync server in the background node sync-server/dist/index.js & # Run Prisma migrations npx prisma db push --skip-generate 2>/dev/null || true # Start the Next.js server exec "$@"