~/talk

How to Create a Great Local Python Development Environment with Docker

links:none on file
slides:none on file

Step-by-step recipe for a reproducible local Python setup using Docker: build a container from a Python 3.10 slim base, install Fast API and uvicorn in the image, map code with volumes so live edits appear immediately, run in detached mode with port 80 exposed, add Redis (6379) via Docker compose by declaring an image and a depends_on, open VS Code attach to running container to get IDE completions, and enable remote debugging with debugpy listening on 5678.

AI-written summary · about

  1. 0:00Introduction
  2. 1:56Why use Docker
  3. 3:56Dockerizing a Python app
  4. 6:54Building and running
  5. 10:21Using Docker volumes
  6. 13:35IDE integration
  7. 17:33Docker compose basics
  8. 20:58Adding a database
  9. 25:49Debugging in Docker
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.