A Dockerfile for a Node application
Two stages, a layer cache that depends on the order of the lines, and a container that does not run as root.
24 minutesTechnical content last reviewed on 3 Aug 2026
This lesson is for signed-in learners
Create an account to subscribe and record your learning progress.
What this lesson builds
- Running an application in containers without losing its data
- Keeping secrets out of the places that publish them
