- Stretch 1: bake your flow code into a Docker ima...
# pacc-apr-10-11-2024
j
• 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.