-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker: use cache mount for npm install #10835
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should sed the cache out on GitHub Actions due to its instability. We already do it for other components.
Yeah, you just need to adapt the pattern on the find to include |
This should avoid re-downloading dependencies when re-building the container. Signed-off-by: Simon Ser <[email protected]>
650f751
to
7f03aed
Compare
Oh right! I thought this was already performed for all Dockerfiles, but the |
This should avoid re-downloading dependencies when re-building the container.