Deploying an Angular App Using Google Cloud Run

Learn how to create, Dockerize, and deploy your containerized Angular application using Google Cloud Run.

Marouen Helali
Google Cloud - Community

--

TL;DR: working example Github repo.

Prerequisites:

Skip step 1. if you already have a working Angular app.

1. Create an Angular App

To get started, use the Angular CLI to generate a new Angular app:

ng new

You will be prompted to name your app and add some configuration choices. Once the CLI has generated all the necessary files for your Angular app, you can test it out by executing these two commands.

cd <app-name>ng serve

In your favorite browser, navigate to http://localhost:4200. With Angular 9, you will get a similar welcome screen to the one below.

--

--