You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, we will install all the packages whenever we build the docker image. But we should notice that the dependency change is much less than the code change; this means that most packages can be reused by caching.
1~3 main use cases of the proposed improvement
For now, we will install all the packages whenever we build the docker image. But we should notice that the dependency change is much less than the code change; this means that most packages can be reused by caching.
I have made a PR #401 to cache the system package install result. After #401, we can use the buildkit cache mount to cache the pnpm package data. FYI https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/reference.md#run---mounttypecache
After the optimisation, I think we can make the single image build time from more one and half minutes to a few seconds
Ideas for solution
No response
what types of users can benefit from using your proposed improvement
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: