Y
Hacker News
new
|
ask
|
show
|
jobs
by
herohamp
2238 days ago
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
1 comments
1337shadow
2238 days ago
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 ?
link