This repository is for support of a talk at the Dayton Dynamic Languages group about writing Dockerfiles to optimize for speed and size.
Python 3.12, Poetry, and Docker
poetry shell
poetry install
cd api
uvicorn main:app --host 0.0.0.0 --port 8000 --reloaddocker build -f Dockerfile_0 -t image_0 .
docker run -p 8000:8000 image_0Edit compose.yaml to point to the Dockerfile you wish to target.
docker-compose up --build