A Tale of Two (Docker Multi-Stage Build) Layersby@patrickleet
21,916 reads

A Tale of Two (Docker Multi-Stage Build) Layers

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

Docker is essentially an isolated environment for your code to run in. Just like you would provision a server, you provision a docker container. The Dockerfile is also a great place to run our unit tests, which is why I’ve decided to write the tests first. With tests in place, the next piece is getting our project ready for deployment. Using a multi-stage build is a good security measure as all build tooling is stripped out of the final layer of the Dockerfile.

Company Mentioned

Mention Thumbnail
featured image - A Tale of Two (Docker Multi-Stage Build) Layers
Patrick Lee Scott HackerNoon profile picture

@patrickleet

Patrick Lee Scott

Learn More
LEARN MORE ABOUT @PATRICKLEET'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa