A text file containing instructions for building a Docker container image, specifying the base system, dependencies, and how to run the app.
A Dockerfile is a recipe that tells Docker how to build a container image for your app. It's a plain text file (named Dockerfile, no extension) at the root of your project.
A typical Dockerfile for a web app does five things:
npm installnpm run buildCloud services like Google Cloud Run read this file to know exactly how to build and run your app. You don't need to memorize the syntax — Claude Code can generate one for you. Just understand that the Dockerfile is the bridge between your code and Deployment.
We give you the skills to build, deploy, and own a full product. Professional stack, AI co-pilot, no coding background required.