Matthew Bell
03/10/2024, 7:02 PMprefect deploy
and following the CLI prompts. The CLI successfully pushes my image to dockerhub and successfully deploys my flow+deployment to my work pool on Prefect Cloud.
However, when triggering the deployment, Google Cloud Run fails to run it with the following error (images below)
The Prefect Cloud UI mentions:
Task transparent-platypus-fzwd9-task0 failed with message: The container exited with an error. (Error Code: 1)
This may be caused by attempting to run an image with a misspecified platform or architecture.This error is super vague, not really sure how to debug, but I imagine I'm making an obvious mistake here. Any idea how is it possible that this image runs locally with
docker run <image_name>
but fails to run on Google Cloud Run?
I've attached an image of my responses to the CLI prompts and my dockerfile (don't worry I will rotate that exposed API key)Kevin Grismore
03/11/2024, 12:21 AMMatthew Bell
03/11/2024, 12:22 AMKevin Grismore
03/11/2024, 12:22 AMMatthew Bell
03/11/2024, 12:22 AMKevin Grismore
03/11/2024, 12:24 AMMatthew Bell
03/11/2024, 12:25 AMKevin Grismore
03/11/2024, 12:26 AMMatthew Bell
03/11/2024, 12:27 AMMatthew Bell
03/11/2024, 1:24 AMKevin Grismore
03/11/2024, 1:25 AM