fix(docker): build workspace dependencies before app images - #3537
Open
thiagosil wants to merge 1 commit into
Open
fix(docker): build workspace dependencies before app images#3537thiagosil wants to merge 1 commit into
thiagosil wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
db:getschemascripts.Issue: N/A — this fixes the Docker workspace build directly.
Visual Demo (For contributors especially)
N/A — infrastructure-only change with no UI impact.
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
No application secrets are required for build validation.
Validated locally:
prisma validatesucceeds against the packaged schema.Repository-wide checks currently have unrelated baseline failures outside this Dockerfile-only diff:
Checklist
Summary by cubic
Fixes Docker workspace builds by compiling transitive workspace deps before building app images and running Prisma under a real Node.js 22 runtime. Ensures
@trycompai/appand@trycompai/portalreliably generate schemas and clients and produce stable images.bunx turbo run build --filter='@trycompai/app^...'and--filter='@trycompai/portal^...'before Prisma generation.packages/db, and use each app’sdb:getschemascript to copy split Prisma schemas before generating@prisma/client.Written for commit b8071ac. Summary will update on new commits.