Docker: From Your First Image to Production
Exit

Lesson 4 of 15 · Fundamentals

Writing a Dockerfile

45 min Debian 12

Objective

Write, line by line, the Dockerfile of a school's registration application (Node.js), understand the role of each instruction, and build the image with docker build. You will also learn to choose between CMD and ENTRYPOINT.

This lesson is part of the full course

Unlock Docker: From Your First Image to Production to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.