Shopify app remix google cloud run port error

Hello I am uploading the shopify remix app on google cloud run but I get this error:
”The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable within the allocated timeout. This can happen when the container port is misconfigured or if the timeout is too short. The health check timeout can be extended. Logs for this revision might contain more information.”

The env PORT variabile is set to 8080, EXPOSE in the docker file is set to 8080. Also in the package.json is set “start”: “remix-serve ./build/server/index.js --port 8080 --host 0.0.0.0”.
How to fix it?

1 Like

Hey @Antonio_Chiuchiolo, there’s an official guide for deploying apps to Google Cloud Run that covers the full setup:

Once you’ve gone through that, feel free to share your feedback and experience here:

Hey @Antonio_Chiuchiolo, are you still experiencing this issue, or can I mark this as solved?

No I am not experiencing this issue, I’ve solved.

1 Like