From 7308a8ee3b00685dbf9c7e1f48829c57a474c43a Mon Sep 17 00:00:00 2001 From: liaquatali000 <49384878+liaquatali000@users.noreply.github.com> Date: Fri, 10 May 2024 23:36:01 +0500 Subject: [PATCH] Update Dockerfile-web-ui-dev --- src/Managing.WebApp/Dockerfile-web-ui-dev | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Managing.WebApp/Dockerfile-web-ui-dev b/src/Managing.WebApp/Dockerfile-web-ui-dev index 8d79cac..c20aa65 100644 --- a/src/Managing.WebApp/Dockerfile-web-ui-dev +++ b/src/Managing.WebApp/Dockerfile-web-ui-dev @@ -31,14 +31,15 @@ RUN npm install -g yarn #RUN npm i --max-old-space-size=12000 --loglevel=verbose RUN yarn add eslint-plugin-jsdoc@37.9.7 --dev --ignore-engines -RUN yarn install --ignore-engines --verbose -RUN yarn cache clean +RUN yarn install --verbose + # Copy the application code COPY . . # Build the Vite application -RUN npm run build -#RUN node --max-old-space-size=4096 ./node_modules/.bin/vite build +#RUN npm run build +RUN node --max-old-space-size=4096 ./node_modules/.bin/vite build + # Stage 2: Create the runtime image FROM nginx:alpine