fix: pin corepack and add /pnpm/bin to PATH#1115
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR improves determinism and reliability of the Node-based Docker builds by pinning the Corepack version (instead of using latest) and ensuring the pnpm global bin directory is on PATH, so pnpm-managed global executables resolve consistently during image builds.
Changes:
- Pin Corepack to
0.34.7in the API, Web, and DB/migrations Docker images. - Update
PATHfor DB and Web images to include both$PNPM_HOME/binand$PNPM_HOME(to reliably find pnpm-managed global binaries).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/db/Dockerfile | Adds $PNPM_HOME/bin to PATH and pins Corepack to a fixed version for reproducible migration image builds. |
| apps/web/Dockerfile | Adds $PNPM_HOME/bin to PATH and pins Corepack to a fixed version for reproducible web image builds. |
| apps/api/Dockerfile | Pins Corepack to a fixed version for reproducible API image builds. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.