From 47e5b2f29cefb4689e2977ee6b3cf5654aed9dae Mon Sep 17 00:00:00 2001 From: cryptooda Date: Sun, 2 Feb 2025 19:21:58 +0700 Subject: [PATCH] Update Dockerfile-web-ui-dev to include Vite build command --- src/Managing.WebApp/Dockerfile | 1 + src/Managing.WebApp/Dockerfile-web-ui-dev | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Managing.WebApp/Dockerfile b/src/Managing.WebApp/Dockerfile index 1d5a32f..1d1c6bf 100644 --- a/src/Managing.WebApp/Dockerfile +++ b/src/Managing.WebApp/Dockerfile @@ -24,6 +24,7 @@ RUN npm install -g tailwindcss postcss autoprefixer @tailwindcss/typography # Copy the rest of the app's source code to the container # COPY . . COPY src/Managing.WebApp/ /app/ +RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build # Build the app RUN npm run build diff --git a/src/Managing.WebApp/Dockerfile-web-ui-dev b/src/Managing.WebApp/Dockerfile-web-ui-dev index 1d5a32f..1d1c6bf 100644 --- a/src/Managing.WebApp/Dockerfile-web-ui-dev +++ b/src/Managing.WebApp/Dockerfile-web-ui-dev @@ -24,6 +24,7 @@ RUN npm install -g tailwindcss postcss autoprefixer @tailwindcss/typography # Copy the rest of the app's source code to the container # COPY . . COPY src/Managing.WebApp/ /app/ +RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build # Build the app RUN npm run build