Make docker image smaller using multi-stage builds
Dockerfile
docker-multi-stage
The multi-stage builds allows us to take advantage of having all the necessary build utilities available during the first stage without having them increase the size of our final image.