Replies: 3 comments
-
What is the protocol here? |
Beta Was this translation helpful? Give feedback.
-
You could |
Beta Was this translation helpful? Give feedback.
-
The current behaviour of
Would it be better for step 1 that pnpm creates |
Beta Was this translation helpful? Give feedback.
-
I'm using the remote containers extension for visual studio code with a monorepo project.
I'm trying to speed up rebuilds of the dev container using a combination of the following techniques:
node_modules
directory as a separate volume within the container itself to prevent host<->container IO for that folder.Relevant dockerfile section:
Docker compose file:
Then after the container is up, running
pnpm install --frozen-lockfile
outputs the following:findmnt
output:If I understand correctly, since the pnpm store and node_modules exist on different device mounts, the pre-cached packages can't be used and therefore they are all being re-downloaded during
pnpm install --frozenlockfile
.Beta Was this translation helpful? Give feedback.
All reactions