~/talk

Python deployment with Docker and Poetry

Talkat PyBay 2023 · on Sunday, 2023-10-08· [python]
links:none on file
slides:none on file

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

  1. 0:00Introduction to deployment
  2. 1:00The framework components
  3. 3:04Makefile and development
  4. 4:41Docker compose configuration
  5. 5:26Multi-stage Dockerfile
  6. 6:55Poetry and dependencies
  7. 8:20Image comparison
  8. 10:05Live demo and conclusion
  9. 11:27Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.