Dockerfile Basics
A Dockerfile is a text file with instructions for building Docker images.
Learning Objectives
Lesson Outline
A Dockerfile is a text file with instructions for building Docker images.
FROM: Base image to start fromWORKDIR: Set working directoryCOPY: Copy files from host to imageRUN: Execute commands during buildEXPOSE: Document which ports are usedCMD: Default command when container starts