2,000+ Free Courses with Certificates: Coding, AI, SQL, and More
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore techniques for optimizing Docker builds for Python applications in this 30-minute EuroPython Conference talk. Learn how to review and improve simple Dockerfiles, progressing to more complex examples that accelerate the build process and minimize the size of resulting Docker images for both development and production environments. Discover strategies for removing unnecessary files, leveraging cached dependencies, and creating custom images. Gain valuable advice on best practices and potential disadvantages of various optimization methods. Conclude with a summary of key takeaways and participate in a Q&A session to deepen your understanding of efficient Docker deployment for Python projects.
Syllabus
Introduction
Registry
Base Image
Source Code
Removing unnecessary files
Optional
Disadvantages
Cached dependencies
Custom image
Advices
Summary
Questions
Taught by
EuroPython Conference