Deploy image with cloudrun

I have been trying to deploy my docker image to cloud run but keep getting --The user-provided container failed to start and listen on the port defined provided by the PORT=5050 environment variable. The application runs well on development. I’m sure what I’m missing medzk-server.

Detailed startup logs needed to tell

Ready condition status changed to False for Service med-zk with message: Revision ‘med-zk-00001-vlc’ is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.–++

what I’ve done so far is move my repo to cloud shell, and I’m trying to resolve the issue using the steps provided in Google skills boost . I’m on it as we speak.

Hi,
You posted in “Gemini API Developer Competition”, but it looks unrelated… right ?

Anyway, does your Dockerfile expose the 8080 port ?
I searched 5 min and found this answer on SOF:

I guess your Docker image doesn’t expose a port that matchs the $PORT Cloud run env variable

1 Like

I’ll look into it. Thanks.

1 Like