Skip to content

fix(docker): bump Dockerfile.prod from node:18.12.0 to node:24#2188

Open
trillium wants to merge 2 commits into
hackforla:developmentfrom
trillium:hotfix/dockerfile-prod-node24
Open

fix(docker): bump Dockerfile.prod from node:18.12.0 to node:24#2188
trillium wants to merge 2 commits into
hackforla:developmentfrom
trillium:hotfix/dockerfile-prod-node24

Conversation

@trillium

Copy link
Copy Markdown
Member

Problem

The production deploy is broken. CI run #27797327895 fails with:

error mongodb-memory-server@11.1.0: The engine "node" is incompatible with this module. Expected version ">=20.19.0". Got "18.12.0"

Root cause

Dockerfile.prod was still pinned to node:18.12.0 while .nvmrc and Dockerfile.api already use Node 24.

Fix

Bump both stages in Dockerfile.prod to node:24 / node:24-slim to match the rest of the project.

trillium added 2 commits June 19, 2026 23:49
mongodb-memory-server@11.1.0 requires node >=20.19.0. Prod image was
still on 18.12.0 while .nvmrc and Dockerfile.api already use node:24.
Aligns prod with dev.
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