Contribute Media
A thank you to everyone who makes this possible: Read More

Python deployment with Docker and Poetry

Description

Docker and Poetry are tools often used to deploy Python code. Docker containerizes code, making it easy to deploy in the cloud. Poetry manages dependencies. However, did you ever consider how the two could work in concert to build slim, repeatable production containers for your code?

This talk aims to give developers the basics of setting up a Poetry project inside a Python Docker environment. The goal is to generate a secure container with only source code present—no docs, tests, or secrets.

What this talk isn't: A deep dive into Docker, Poetry, or virtual environments.

slides/code: https://github.com/caheredia/pybay2023

Details

Improve this page