From 17114ac787c0b9036fac547615fad14005a560e4 Mon Sep 17 00:00:00 2001 From: cryptooda Date: Mon, 3 Feb 2025 12:00:21 +0700 Subject: [PATCH] Refactor Dockerfile-web-ui-dev to include Vite build command and COPY src/Managing.WebApp/ in the Dockerfile --- src/Managing.WebApp/Dockerfile-web-ui-dev | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Managing.WebApp/Dockerfile-web-ui-dev b/src/Managing.WebApp/Dockerfile-web-ui-dev index ecb1322..b5f5911 100644 --- a/src/Managing.WebApp/Dockerfile-web-ui-dev +++ b/src/Managing.WebApp/Dockerfile-web-ui-dev @@ -24,9 +24,8 @@ RUN npm install -g tailwindcss postcss autoprefixer @tailwindcss/typography # Copy the rest of the app's source code to the container # COPY . . RUN ls -la -COPY src/Managing.WebApp/ /app/ +COPY src/Managing.WebApp/ . RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build -RUN ls -a app # Build the app RUN npm run build