From 5089a64c7749ed1fb05812bfa5ca7d539a4a102f Mon Sep 17 00:00:00 2001 From: realstealthninja <68815218+realstealthninja@users.noreply.github.com> Date: Wed, 7 Oct 2026 10:28:28 +0530 Subject: [PATCH] chore: do not install ng and directly build with npm --- frontend/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 96e8dac..0efafa1 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -7,13 +7,11 @@ WORKDIR /frontend COPY ./frontend/package.json ./frontend/package-lock.json ./ RUN npm ci -RUN npm install -g @angular/cli - # build frontend COPY ./frontend/ ./ -RUN ng build --configuration=production +RUN npm run build FROM nginx:alpine AS frontend-server COPY ./frontend/config/nginx.conf /etc/nginx/conf.d/default.conf