npm or yarn cache to speed up the deployment #3309
Replies: 3 comments 5 replies
-
I was trying to use the persistence storage feature to achieve what you said as well, but that feature seems to mount the directory AFTER the docker image finishes the run, so nothing much can be done there. If we can have persistence storage with a "checkbox" to mount before the build, then it's perfect, IMO. (my Raspberry Pi 4 takes like ~1500 seconds just for |
Beta Was this translation helpful? Give feedback.
-
Would love to have this too, bun install is taking around 2 minutes |
Beta Was this translation helpful? Give feedback.
-
With nextjs + payload + mastra deployments take nearly 15 minutes. This is an essential feature request. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a project as monorepo (turbo repo) + yarn. I have 8 packages in the repo and I filter out the installations using
yarn workspace api install
,yarn workspace admin install
etc. the issue is that yarn install is taking too much time for each deployment as it needs to download +700mb of packages, is there any way that I can cache the dependencies to reuse in the deploymentNote:
Beta Was this translation helpful? Give feedback.
All reactions