-
Hello, I actually have to make installation with pnpm on a docker container which is limited in term of memory. The container stops with Out Of Memory message during pnpm install. Unfortunately, I cannot share the project setup.
Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Memory consumption is much lower when there is an up-to-date lockfile. Why isn't your lockfile up to date? Don't you commit the lockfile to the repository? |
Beta Was this translation helpful? Give feedback.
-
The lock file is delivered into the container (buildpack) but, as the monorepo workspace is composed by multiple apps, not all packages of the monorepo are delivered. That could be considered as outdated lock file and leads to higher memory consumption ? |
Beta Was this translation helpful? Give feedback.
maybe. You can try to use
pnpm deploy
instead. Outside the container. Then just copy the results to the container.