Skip to content

Comment on Shrinking my static siteparent

Comments

I do npm in two different images so that the node_modules can be cached between builds. this massively speeds up my build. The npmpackages layer only installs the npm modules

I see, this speeds up when you change a dependency, because at least then your whole node_modules is not thrown away is that right ?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.