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