Aveek Duttagupta
07/07/2025, 4:45 PMContainer 'prefect' exited with non-zero exit code 126.
This is the only error that I'm seeing from the flow run within my ECS task definition. Is there any other way to see more logs or more information on what specific command may be causing this? I don't see any other information within the logs on the UI or on cloudwatch other than the task being deprovisioned followed by this errorAveek Duttagupta
07/07/2025, 4:46 PMdockerfile
. I also tried using the default dockerfile
with the push=True
and got an exit code of 255Jake Kaplan
07/07/2025, 4:52 PMAveek Duttagupta
07/07/2025, 4:58 PMfatal: not a git repository (or any of the parent directories): .git
I also do still see this error with the default docker file when I run with push=True
and build=True
Jake Kaplan
07/07/2025, 5:00 PMgit checkout
or something?Jake Kaplan
07/07/2025, 5:03 PMAveek Duttagupta
07/07/2025, 5:36 PMmy_target_flow.deploy(
name="test-flow",
work_pool_name="dev-ecs-pool",
image=<my_ecr_repo>,
push=True,
build=True,
)
Jake Kaplan
07/07/2025, 5:45 PMplatform
kwarg: https://docs.prefect.io/v3/how-to-guides/deployments/prefect-yaml#the-build-action
https://docs.prefect.io/v3/how-to-guides/deployment_infra/serverless#deploymentAveek Duttagupta
07/07/2025, 9:21 PMAveek Duttagupta
07/07/2025, 9:22 PMAveek Duttagupta
07/07/2025, 11:11 PMJake Kaplan
07/07/2025, 11:56 PM