Emile Piccoli07/05/2023, 9:07 AM
Christopher Boyd07/05/2023, 4:42 PM
Emile Piccoli07/09/2023, 12:37 PM
- a docker container running the agent, based on the same image
["prefect", "orion", "start"]
, but with some extra care that feels in part "cheating": - we add the flow and task files to the base image - we use a shell script as entrypoint, so that we can run multiple commands, namely 1) run a deployment python script (which calls
) 2) runs the agent This setup (with only these two containers) was defaulting to a SQLite database, and I could mount the file outside of the containers as you mentioned its location. I see no issue in theory to deploy this pattern on Azure Container Group, with 2 containers within the Container Group. However, it does feel a bit "hacky". I'd be glad to have your feedback. PS: if anyone is interested, I could also post the exact configuration for reference.