Skip to content

fix(docker): install Node 22 in the runtime image - #143

Merged
BaaRai merged 1 commit into
mainfrom
fix/node-22
Nov 3, 2026
Merged

BaaRai merged 1 commit into
mainfrom
fix/node-22

Conversation

@BaaRai

@BaaRai BaaRai commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Bug

The runtime image installs Node from https://deb.nodesource.com/setup_20.x. Node 20 is end-of-life, so the Playwright MCP/CLI and any npx-launched MCP server in the container run on an unsupported runtime.

Fix

Dockerfile: setup_20.x becomes setup_22.x, and the comment is updated. CI (ci.yml, web job) and release.yml already use node-version: "22", so no workflow change is needed. The frontend lockfile is untouched (@types/node is already ^22).

Verification

  • curl -o /dev/null -w '%{http_code}' https://deb.nodesource.com/setup_22.x returns 200.
  • grep finds no other Node 20 pin (Dockerfile, workflows, install/update/start scripts, web/package.json, .nvmrc).

Not verified:

  • docker build. The only Docker engine available here runs the live stack, and I did not build on it. The release workflow's docker job, or a local docker compose build, will exercise the change. Check that npm install -g @playwright/mcp @playwright/cli playwright and playwright install --with-deps chromium still succeed on 22, which is expected since Playwright supports 22.

The image installed Node 20 from NodeSource, which is end-of-life. CI and the
release workflow already build the frontend with Node 22; the runtime image
(Playwright MCP/CLI, npx-based MCP servers) now uses the same major.
@BaaRai
BaaRai merged commit 41fe40a into main Nov 3, 2026
3 checks passed
@BaaRai BaaRai mentioned this pull request Nov 4, 2026
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