Jeff Hale
10/19/2023, 9:10 PMflow.deploy
allows you to easily create a Docker image with your flow code baked in and use that image with the work pool of your choice.
Updating a Python serve script to a deploy script is as simple as changing serve
to deploy
, providing a work pool to deploy to, and providing a name for the built Docker image. See the π§΅ for an example.
As always, this release includes π bug fixes, ποΈ quality-of-life enhancements, π documentation updates, and π€ new contributions from the community!
See the release notes for more information. prefect buildJeff Hale
10/19/2023, 9:11 PMserve
script that looks like this:Jeff Hale
10/19/2023, 9:12 PMdeploy
script like this: