To deploy and run the image on Cloud Run, go to the GCP console.
Open the project for this repository.
Go to the Cloud Run service.
Open the currently running service.
Click on "Edit and deploy new revision"
Amend the settings and / or select another image from the artifact registry
Ensure you add the NODE_ENV env variable with production as a value
Click Deploy at the bottom
We need to match the image tag currently used in the Artifact Registry.
In the GCP console, inside the project that holds the image, open the Artifact Registry service. The image will be under the docker-images folder, and will contain the name of this repo eq-v2-prototypes.
You can also deduct the name manually:
$ $LOCATION-docker.pkg.dev/$PROJECT-ID/$REPOSITORY/$IMAGEMore details in the GCP documentation
docker build . $imagenameEnsure you are authenticated to the repository in Docker.
Then
docker push $imagenamedocker-compose upThen in the browser
localhost:3000