sidpalas / devops-directive-kubernetes-course

This is the companion repo for the DevOps Directive "Kubernetes: Beginner to Pro" course!
766 stars 293 forks source link

refactor to enable install without poetry in image #12

Open sidpalas opened 1 week ago

sidpalas commented 1 week ago

This was an experiement to see if I could eliminate the requirement to have poetry installed in the Dockerfile to generate the intermediate requirements.txt

I was able to do this, but didn't see a way to separate installation of the external dependencies from the main application (which is important for Docker layer caching). I think the only proper way to do that is with poetry export