Code Safari

Chapter 120·Intermediate

Writing a Dockerfile

01 / 06

The core idea

A recipe for building an image.

A Dockerfile is a plain text file of ordered instructions. docker build follows them top to bottom to assemble your app and its environment into an image.

Writing a Dockerfile | Code Safari