~/talk

How to Containerize and Deploy a Python Application

Talkat XtremePython 2025 · on Tuesday, 2025-11-18· [devops-and-delivery, python]
links:none on file
slides:none on file

Step-by-step Dockerfile construction using Python 3.11-slim base, copying source and requirements.txt, setting CMD to run server.py and exposing port 8083, then building with docker build and running via docker run (detached mode, map port 8083). Covers dependency handling to shrink images, troubleshooting with container logs, pushing images to Docker Hub or private registries (Harbor/Nexus) and notes that a complex image can take up to a day to refine.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33Why containerize Python apps
  3. 4:49Preparing the Python app
  4. 5:54Writing the Dockerfile
  5. 12:17Building and running the container
  6. 17:57Debugging the container
  7. 20:08Key rules for containerization
  8. 21:34Pushing to Docker Hub
  9. 23:48Q&A and summary
~/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.