In this Docker Tutorial I show how to get started with Docker for your Python Scripts and Python Web Apps. We look at two different projects and build Docker Containers for a Python script and for a web application using FastAPI (works the same for Flask). This also demonstrates how to dockerize a virtual environment.
Here's an outline of what I'll cover in this tutorial:
- Introduction & Overview
- Dockerfile vs Image vs Container
- Dockerze Python scripts
- Dockerize a web app with FastAPI