Prefect 2.13.8 has been released! :rocket: This re...
# announcements
j
Prefect 2.13.8 has been released! πŸš€ This release introduces an improved Python deployment-creation method for flows that require expensive infrastructure.
flow.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 build
πŸš€ 4
prefect spin 3
party deploy 3
πŸ™Œ 13
prefect logo 10
If you have an existing
serve
script that looks like this:
It doesn’t take much to turn it into a
deploy
script like this:
🦜 1
πŸ‘ 1