how does docker build works?
The docker build command is used to create a Docker image from a set of instructions defined in a Dockerfile. The Dockerfile contains a sequence of commands and settings that specify how the image should be constructed. When you run docker build, Docker reads the Dockerfile, executes the instructions in order, and creates a new …