From 2b2a9157fdca1be4dda77a8024069b469c485567 Mon Sep 17 00:00:00 2001 From: cryptooda Date: Mon, 3 Feb 2025 11:42:48 +0700 Subject: [PATCH] Update Vite build configuration in vite.config.ts --- src/Managing.WebApp/Dockerfile-web-ui-dev | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Managing.WebApp/Dockerfile-web-ui-dev b/src/Managing.WebApp/Dockerfile-web-ui-dev index 1d1c6bf..b3b4a2d 100644 --- a/src/Managing.WebApp/Dockerfile-web-ui-dev +++ b/src/Managing.WebApp/Dockerfile-web-ui-dev @@ -33,7 +33,12 @@ RUN npm run build FROM nginx:alpine # Copy the built app to the NGINX web server directory -COPY --from=0 /app/build /usr/share/nginx/html +# COPY --from=0 /app/build /usr/share/nginx/html + +RUN ls -la /app + +# Copy the built Vite application from the builder stage +COPY --from=0 /app/dist /usr/share/nginx/html # Expose port 80 for the NGINX web server EXPOSE 80