Skip to content

chore(docker): run app and server on Node 24 - #266

Merged
ThatAlexPalmer merged 2 commits into
mainfrom
chore/node-24-docker
Aug 21, 2026
Merged

chore(docker): run app and server on Node 24#266
ThatAlexPalmer merged 2 commits into
mainfrom
chore/node-24-docker

Conversation

@ThatAlexPalmer

@ThatAlexPalmer ThatAlexPalmer commented Aug 21, 2026

Copy link
Copy Markdown
Member

What?

Docker app + server images use node:24-slim. The July app image is gone.

Docker app is now next start (no webpack/turbopack watcher). next dev --webpack plus bind-mount polling was ~800% CPU.

Why?

Old image was Node 20 / stale UI. Watch polling on a Docker Desktop bind mount pegged the machine.

How?

FROM node:24-slim. Image pnpm build then pnpm start. Hot reload stays pnpm app:dev on the host. Rebuild the image after app source or NEXT_PUBLIC_* changes.

Replace node:20-slim with node:24-slim, drop the July app image, and
use webpack in Docker because Turbopack 16.2 cannot resolve next/document
through the pnpm workspace root.
@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

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

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs Ignored Ignored Aug 21, 2026 12:12pm
tap-cap-table-app Ignored Ignored Preview Aug 21, 2026 12:12pm

Request Review

…g CPU

next dev --webpack plus CHOKIDAR/WATCHPACK polling on a bind mount was
using ~8 cores. The image now builds and runs next start; use pnpm app:dev
on the host for hot reload.
@ThatAlexPalmer
ThatAlexPalmer merged commit ee03f9a into main Aug 21, 2026
4 checks passed
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.

1 participant