DevOps · Flashcard
What is a Dockerfile?
Why this is the answer
Each instruction (FROM, RUN, COPY, etc.) creates a new layer in the image. Docker executes them sequentially, caching unchanged layers to speed up subsequent builds.
Read more in the docs