TL;DR —
From Docker v 17.05, multi-stage build lets us build docker images in stages with multiple FROM statements. Multi-stage builds are more streamlined and we have optimized our images to be more environment-specific. We look into how you can exploit docker multi-structure build to build optimal images suited for dev/test and production with a NodeJs example application. We start with a base image that has node, then copy needed files to the image like 1-5-5MB for production.
[story continues]
Written by
@geshanm
Lead Software Engineer, Technologist, Agile follower. Google Developer Expert Certified Scrum Master
Topics and
tags
tags
docker|devops|software-engineering|pipeline|containers-devops|software-development|testing|latest-tech-stories|web-monetization
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: UJborDvYKUyAn8wwg8l-RUJTJGdUO2W1B76R3ZUaMFI
