Hi Everyone, is it possible to use the below thing for prefect 2.0? <https://docs-v1.prefect.io/orch...
f
Hi Everyone, is it possible to use the below thing for prefect 2.0? https://docs-v1.prefect.io/orchestration/recipes/configuring_storage.html#providing-the-dockerfile
m
Hey @Fancy Arora this is probably a good article to check out in reference to this https://discourse.prefect.io/t/how-can-i-run-my-flow-in-a-docker-container/64#docker-deployment-using-a-custom-dockerfile-3 I'm not 100% certain on this since I haven't tried out this pattern specifically myself but generally speaking I think you should be able to package you're code into a custom image with this infrastructure block and when the deployment runs since it should be include in the image it should be able to run the flow, the most you might need to do would be to specify the local path to the flow within the image itself, not sure on that one specifically. But in theory I think this is doable 😄 I'll try this out later myself as well to be sure though. Side Note: This is a great question to through the in the #C048ZHNT9QS channel 😄