79319055

Date: 2024-12-31 02:41:39
Score: 1
Natty:
Report link

So the issue is I was building the container on an M mac which runs on ARM and defaults to building containers that are optimized for ARM where as Google Cloud Run runs container on linux/amd64.

You need to specify the platform you want to build them on:

Build your container using this command:

docker buildx build -t flask_backend:latest --platform linux/amd64 .

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Salar Satti