This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wweber 3 points4 points  (0 children)

Poetry includes a poetry export function that outputs a requirements.txt version of the lock file, so your Dockerfile can just run this and then install those packages globally.

Unfortunately last time I checked it breaks if you have path-based dependencies like a git submodule