My question is effectively a duplicate of this question however the only answer is related to Prefect 1. I would like to know if anyone is aware of how to do such a thing in Prefect 2.
I am able to execute Python in a Docker image however I'm unable to find any examples of how to simply execute a docker image as a task or flow similar to executing a docker run.
Thank!
docker build -t my-flows .my-flowsimage you built in step 2.docker-compose --profile server updocker-compose run flows