I am trying to deploy on Google Cloud Platform for the first time using the following two tutorials:
However, when running the final command gcloud builds submit --config cloudbuild.yaml
, where cloudbuild.yaml is the name of the yaml file as per tutorial, throws the following error:
Cloud Run error: Container failed to start. Failed to start and then listen on the port defined by the PORT environment variable. Logs for this revision might contain more information.