Skip to content

docs: add production docker monorepo guidance#7921

Draft
AmanVarshney01 wants to merge 1 commit into
mainfrom
aman/add-production-docker-monorepo-guidance
Draft

docs: add production docker monorepo guidance#7921
AmanVarshney01 wants to merge 1 commit into
mainfrom
aman/add-production-docker-monorepo-guidance

Conversation

@AmanVarshney01
Copy link
Copy Markdown
Member

Summary

  • split Prisma Client generation from production migration deployment in the Docker guide
  • generate Prisma Client during Docker image builds instead of copying generated output from the host
  • add .gitignore and .dockerignore guidance for generated Prisma Client artifacts
  • run prisma migrate deploy as a one-off deployment step before starting the app container
  • clarify Turborepo guidance to import the workspace database package instead of generated client paths from apps

Root cause

The Docker guide combined migrate deploy and generate in a runtime command, while monorepo guidance did not explicitly connect generated Prisma Client artifacts, Docker build contexts, and workspace package exports.

Validation

  • pnpm exec cspell content/docs/guides/deployment/docker.mdx content/docs/guides/deployment/turborepo.mdx --show-context
  • git diff --check

Fixes #7302

@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment May 26, 2026 1:29pm
docs Ready Ready Preview, Comment May 26, 2026 1:29pm
eclipse Ready Ready Preview, Comment May 26, 2026 1:29pm
site Ready Ready Preview, Comment May 26, 2026 1:29pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 26, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5a721dda-fcaa-4541-b03e-a6376963986d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

🍈 Lychee Link Check Report

24 links: ✅ 11 OK | 🚫 0 errors | 🔀 1 redirects | 👻 12 excluded

✅ All links are working!


Full Statistics Table
Status Count
✅ Successful 11
🔀 Redirected 1
👻 Excluded 12
🚫 Errors 0
⛔ Unsupported 0
⏳ Timeouts 0
❓ Unknown 0

@argos-ci
Copy link
Copy Markdown

argos-ci Bot commented May 26, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - May 26, 2026, 1:35 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

guidance for production dockerfile and monorepos

1 participant