Docker
1 Create Dockerfiles
To build Docker images, you first need a Dockerfile. A Dockerfile is a plain text file named Dockerfile and has no file extension.
Multistage Dockerfiles are used to optimize Dockerfiles. One use case is to create a builder and a serve stage with separate base images. This strategy can make the final image smaller and have a lower attack because it has fewer system libraries. Each stage starts with FROM.