fix(gro-1889): bake pnpm into reset stage to avoid runtime DNS #97

Merged
Flea Flicker merged 1 commits from fix/gro-1889-reset-demo-data-pnpm into dev 2026-05-28 22:31:18 +00:00

1 Commits

Author SHA1 Message Date
Flea Flicker eb3f566aeb fix(gro-1889): bake pnpm into reset stage to avoid runtime DNS
The reset CronJob fails with `getaddrinfo EAI_AGAIN registry.npmjs.org`
when cluster DNS is flaky, because the reset stage uses corepack to
download pnpm at runtime instead of having it baked into the image.

This change adds `corepack enable && corepack prepare pnpm@9.15.4 --activate`
to the reset Dockerfile stage so pnpm is pre-installed at build time.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-28 22:29:33 +00:00