DEV Community

Discussion on: Dockerizing a Node.js web application

Collapse
 
alexstaroselsky profile image
Alexander Staroselsky • Edited

Could consider only installing production packages to greatly reduce the size of the image and speed up the build. npm ci —production

Collapse
 
adafycheng profile image
Ada Cheng

Thanks a lot for your advice!