Hello, I found that Prefect has the Task to run docker images, but can Prefect push my project (code, scripts) into the running image?
k
Kevin Kho
07/05/2021, 4:25 PM
Hey @Evgenii, using Docker Run + Docker Agent will run the you flows on top of the container. That task will simply run the container. See this
e
Evgenii
07/05/2021, 5:08 PM
Thank you! But except flows, I have some additional python and bash scripts. Can Prefect copy them (the files which are in the same folder) into the container somehow?
k
Kevin Kho
07/05/2021, 6:06 PM
Yep! Store them using Docker Storage. See this . Then use the same image in your Docker RunConfig.