Aaron Ash
03/18/2022, 7:58 AMKubernetesRun()
environmentsAnna Geller
03/18/2022, 11:18 AMKubernetesRun
, docker-compose won't help you and will only overcomplicate things.
One easier way would be to create:
• Dockerfile
• some bash scripts like build.bash
containing build and push commands you need to run for deployment and for your flow registration - this would have the same effect as the docker-compose file in the sense there is one command (bash build.bash
) you need to run to build the image and register your flow
Here is an example repo with a similar structure https://github.com/anna-geller/packaging-prefect-flows/
(this is just one possible way of approaching it)