https://prefect.io logo
Title
m

Mike Vanbuskirk

05/20/2022, 7:24 PM
does anyone have a link to an example Dockerfile for a custom image that a flow might run on?
m

Mike Vanbuskirk

05/20/2022, 7:27 PM
interesting
so there is no ENTRYPOINT or CMD?
a

Anna Geller

05/20/2022, 7:27 PM
for 2.0 you'd need to change to:
FROM prefecthq/prefect:2.0b5-python3.9
nope, no need for entrypoint, Prefect takes care of that
m

Mike Vanbuskirk

05/20/2022, 7:28 PM
to sanity check my understanding, ☝️ that image would be passed in to the
image=""
value in, say, an
ECSRun
config?
k

Kevin Kho

05/20/2022, 7:29 PM
Yes if you build ahead of time and upload somewhere. The agent just needs permissions to download
m

Mike Vanbuskirk

05/20/2022, 7:29 PM
awesome, ty Kevin & Anna!
👍 1