FROM node:23-alpine AS build ARG config production WORKDIR /src COPY package*.json . RUN npm install -g @angular/cli RUN npm install COPY . /src RUN ng build \ --configuration=${config} \ --delete-output-path false FROM nginx:alpine-slim COPY --from=build /src/dist/ui/browser/ /usr/share/nginx/html COPY nginx/default.conf /etc/nginx/conf.d/ EXPOSE 80