Deploy an Angular App


You can find the step-by-step deployment guide here.

When deploying an Angular project, the build environment runs the following commands by default:

DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
  curl \
  {% if system_dependencies %}{{ system_dependencies | join(' ') }}{% endif %} \
  && rm -rf /var/lib/apt/lists/*

npm install -g @angular/cli@latest

Here, system_dependencies refers to the system packages configured in the dashboard.

After that, project dependencies are installed using the package manager detected in the repository (yarn, pnpm, or npm):

yarn install
pnpm install
npm install