Python in Production: Harnessing Docker for Seamless Deployment
A technical talk on containerizing Python apps with Docker, optimizing multi-stage builds, and production deployment best practices.
Python in Production: Harnessing Docker for Seamless Deployment
In this session at PyJogja Meetup! Py.Jo Regular Talk (Road to PyCon APAC 2024), Fadilah Riczky demonstrated best practices for packaging, containerizing, and deploying production-grade Python applications using Docker.
Event Overview
- Event: PyJogja Regular Talk (Road to PyCon APAC 2024)
- Organizers: Python Jogja (PyJogja) x Berijalan (member of ASTRA)
- Date: Saturday, September 21, 2024 (09:00 - 12:00 WIB)
- Venue: Berijalan Techno Center, Jl. Petung No.3-7, Caturtunggal, Depok, Sleman, Yogyakarta
- Speaker: Fadilah Riczky (DevOps Engineer at Atmatech)
Key Topics Covered
- Containerizing Python Apps: Writing minimal Dockerfiles using slim base images.
- Multi-Stage Builds: Separating build dependencies from runtime environments to shrink container image size.
- Production Environment Variables: Managing configuration files, secret tokens, and gunicorn/uvicorn ASGI/WSGI servers safely.