Docker Community Forums

Share and learn in the Docker community.

How to multi-stage Dockerfile with pnpm?

pnpm is like npm for node.js, but it uses hard symlinks.

This means that whereas copying files between Dockerfile stages works just find with the npm package manager, it does not with pnpm.

Is there a canonical example for pnpm?