AI engineering glossary · MLOps, LLMOps cloud

What is dockerfile?

Dockerfile: A plain-text recipe listing the steps Docker follows to build an image: choose a base image, copy files, install dependencies, set environment variables and define the start command. Keeping it in version control makes the build repeatable and reviewable.

Level: beginnerTopic: MLOps, LLMOps cloud

Dockerfile: an example

A Dockerfile starts with `FROM python:3.11-slim`, copies requirements.txt, runs `pip install -r requirements.txt`, and ends with `CMD ["uvicorn", "app:app"]`.

Related terms

More MLOps, LLMOps cloud terms

Where you learn it

Dockerfile is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.