Python deployment with Docker and Poetry
summary
Shows how Docker + Poetry produce slim, repeatable Python containers by using a multi-stage Dockerfile (base → development → builder → production), Docker Compose for a bind-mounted dev volume, Poetry to do an editable install in dev and to build a wheel in the builder stage, then pip-install the wheel into a minimal prod image. Demonstrates a working run that fetches the time, reports dev images ~1GB and prod ~400MB (Alpine can reach 10–20MB).
AI-written summary · about
