My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Create lean Node.js image with Docker multi-stage build - Codefresh

Create lean Node.js image with Docker multi-stage build - Codefresh

Elodie Yung's photo
Elodie Yung
·Apr 25, 2017

Starting from Docker 17.0.5+, you can create a single Dockerfile that can build multiple helper images with compilers, tools, and tests and use files from above images to produce the final Docker image. Docker can build images by reading the instructions from a Dockerfile.