Dockerfile

A dockerfile is a file that defines the steps needed to create an image and run it.

Each instruction in the Dockerfile creates a “layer” in the image.
Therefore, when some changes are made, only the relevant “layers” are rebuilt.

The Dockerfile is NOT the Docker Image. It is just a set of instructions to build and run the Docker Image.

docker build created the Docker Image from the Dockerfile


Last update : 16 octobre 2023
Created : 21 septembre 2023