Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
herohamp
· 6y ago · 0 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
Comments
[–]
1337shadow
6y 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 ?