s2i-nodejs-container icon indicating copy to clipboard operation
s2i-nodejs-container copied to clipboard

Persistent Volume $NPM_CACHE

Open ivoborisov opened this issue 6 years ago • 1 comments

Dear All,

We have a React application built with this image (s2i-nodejs8) inside of OpenShift. Currenly we're trying to speed up the builds by reusing the npm packages that are already downloaded from previous builds. Could you provide us with an example how we can use a persistent volume mounted as $NPM_CACHE inside a BuildConfig? Or perhaps you can give us another suggestion ?

Thanks a lot and keep up the good work :)

ivoborisov avatar Oct 30 '18 08:10 ivoborisov

@kasicka @notroj ?

omron93 avatar Oct 30 '18 09:10 omron93