Dockerfile Tutorial by Example Basics and Best Practices 2018

FROM python:3.9.7
MAINTAINER Bryan Jenks bryan@bryanjenks.dev
  • When you build your docker image from a docker file with Build each command in the file create a new image and the layers are plastered on top, but each layer is cached so when you change things iteratively, only the changed items onward get re-ran. Essentially lazy loading.