Write a Dockerfile That Excludes Dev Dependencies from the Production Image
Learn how to keep your container images lean by excluding development dependencies (linters, test frameworks, etc.) from the production build.
Focused, hands-on problems for sharpening your DevOps and server-side skills. Some teach specific concepts while others mirror real-world scenarios. Every challenge includes hints, feedback, and automated solution checks.
Learn how to keep your container images lean by excluding development dependencies (linters, test frameworks, etc.) from the production build.
Practice installing OS-level packages during a Docker image build to satisfy system library requirements of your application.
Learn the absolute basics of Dockerfile authoring by containerizing a simplistic Node.js server application with just three instructions: FROM, COPY, and CMD.
Learn how to write a Dockerfile from scratch and build a working container image for a web server application with a simple set of dependencies.