4 ms·
Using pnpm in our current project. Huge challenge to use this tool and distribute application in docker containers. The intention of “saving” disk space on a de
by rogercafe 4y ago
Using pnpm in our current project. Huge challenge to use this tool and distribute application in docker containers. The intention of “saving” disk space on a developer machine is a bad tradeoff compared to the extra effort to figure out how to pack the many symbolic links pnpm creates.
- tough 4y agoWhat about ignoring pnpm and using npm on the docker deployment?
- DangitBobby 4y agoYou really need a lockfile for reproducible builds. pnpm's lockfiles are not compatible with npm's.
- zebracanevra 4y agopnpm works just fine in docker, though? All files are installed to the .pnpm folder inside of node_modules, and then all the packages are symlinked to that folder. In other words, as long as you copy node_modules there is no problem, which is what you would normally do anyway...