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.