, is the flow.deploy() more like we run prefect in a non-docker env like our local, and try to spin up a flow in a docker container?
n
Nate
10/06/2024, 3:54 PM
hi @Felix Wang
yep the big difference between .serve and .deploy is:
• .serve is good for static infrastructure (a long lived container in a docker compose setup)
• .deploy is good for when you want to create a decoupled deployment definition that you can dynamically create infra for (for example you have docker worker running on a VM and so every flow run spins up a new container)
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.