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