104 Extensions :test_tube: :computer: :: - Stretch 1: bake your flow code into a Docker image with ...
j
104 Extensions 🧪 💻 :: • Stretch 1: bake your flow code into a Docker image with .deploy(). ◦ Don’t push the image to a remote repository (or do log in and push it to DockerHub). Don’t forget to: ◦ Start Docker on your machine ◦ pip install -U prefect-docker ◦ Make a Docker work pool ◦ Start a Docker type worker that polls the pool • Stretch 2: create a push work pool with provision-infra and use it in a deployment. • Stretch 3: add an environment variable to a work pool and use it.
marvin 1