Get the latest tech news
Publish a Python Wheel to GCP Artifact Registry with Poetry
In this article, I’m building a Python project that outputs a runnable file instead of a Docker image, as I need to directly communicate with GPU drivers. Using Poetry and GCP’s artifac…
I wanted a solution near to the Docker workflow: build locally, push to a registry, and download the latest version at the startup. By default, I build my project with poetry sync, because I don’t need a runnable file as I mainly use Docker images. Because my project needs a lot of dependencies (Flask, SQLAlchemy, Pandas…), and I don’t want to store all of them into my GCP Artifact Registry (and pay for that).
Or read this on Hacker News