fix(orchestrator): symlink prisma/schema.prisma to resolve Docker build root detection #707
Reference in New Issue
Block a user
Delete Branch "fix/ms23-prisma-docker-vs-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Prisma was traversing from api/prisma/ upward looking for the package owner and landing at /app/apps/ (no package.json → auto-install → failure).
Fix: symlink apps/orchestrator/prisma/schema.prisma → ../../api/prisma/schema.prisma so the orchestrator 'owns' its schema. Docker COPY follows symlinks; CI resolves the symlink in the checkout. prisma:generate runs fully within the orchestrator package context.
Supersedes PRs #703, #704, #705, #706.