Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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