Replies: 2 comments
-
Currently, the recommended way is to use the standalone script to install pnpm in a docker image. And Node.js should be installed before that. But we are also working on a standalone version of pnpm, so you'll be able to install pnpm without Node.js. And we plan to add support for system specific package managers, see: #3633 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a canonical example of a multi-stage node-based Dockerfile that uses
pnpm
? I could not find any in your documentation.As an example, this (Next.js Dockerfile example](https://nextjs.org/docs/deployment#docker-image) does not work if I change
npm
topnpm
and adjust the argument names accordingly.Would be nice to have an "official" working example of a multi-stage Dockerfile that uses
pnpm
instead of npm or yarn.Please advise. -- thanks, Anton
Beta Was this translation helpful? Give feedback.
All reactions