Skip to content

Containerization with Docker

A simple Dockerfile is included in the repository. It installs uv, sets up the environment, and runs foo.py when executed.

The Docker image can be built with:

docker build . -t my-docker-image

It can then be run in the background with:

docker run -d my-docker-image

Alternatively, run it in interactive mode with:

docker run --rm -it --entrypoint bash my-docker-image