I have a huge npm dependency tree. My Dockerfile is setup so that if my package.json file has not changed, it should use the cache. This works like a charm locally, and the build takes mere seconds. I have autobuild on pull requests, and master branch pushes from GitHub. Browsing the logs from the different builds, no cache is utilized, even though they are built on the same node. (I use bring your own node from Azure)
I have the same issue. any solution you find?
I still have no idea how to fix this, or if it is even possible at this time. This is super frustrating, as my builds are taking 10 minutes compared to a few seconds with cache on my local machine because of all our node modules which we rarely make changes to.
@lizter Thanks for the feedback. We are looking into solutions for this and will update this thread when we have a fix available.
Thank you! I hope this will be resolved soon.
Thank you for looking in to this!