docs: Upgrade Node.js version in Dockerfile#771
Conversation
Updated Dockerfile base image from node:20-slim to node:24-slim and added corepack installation.
|
|
|
@miso-kyoungminkim is attempting to deploy a commit to the pnpm Team on Vercel. A member of the Team first needs to authorize it. |
|
Node.js 20 reached end-of-life on 2026-04-30, so it definitely makes sense to update the examples to Node.js 24. |
|
Corepack installation isn't necessary for Node.js 24 however, since this version still bundles Corepack. |
Removed global installation of corepack in Dockerfile sections.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughDocumentation examples for three Dockerfiles are updated to use Node.js 24-slim instead of 20-slim as the base image. No other configuration or logic changes are made. ChangesDocker Base Image Documentation Updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Comment |
Oh, you’re right. My bad — fixed it. Thanks! |
This PR updates the Dockerfile based on the official pnpm guide.
The base image is upgraded from Node.js 20 to Node.js 24 as Node.js 20 is nearing end of LTS.
It also adds an explicit Corepack installation to align with changes in newer Node.js versions.
These updates ensure pnpm works reliably in the container environment.
Summary by CodeRabbit