You can find the step-by-step deployment guide here.
For Angular versions 16 and below, the default build output path does not include the
browser/directory. Make sure to removebrowser/from the build path when configuring the deployment.
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 control panel.
After that, project dependencies are installed using the package manager detected in the repository (yarn, pnpm, or npm):
yarn install
pnpm install
npm install