diff --git a/src/Managing.WebApp/Dockerfile-web-ui-dev b/src/Managing.WebApp/Dockerfile-web-ui-dev index b3b4a2d..ecb1322 100644 --- a/src/Managing.WebApp/Dockerfile-web-ui-dev +++ b/src/Managing.WebApp/Dockerfile-web-ui-dev @@ -23,8 +23,10 @@ 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/ RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build +RUN ls -a app # Build the app RUN npm run build @@ -34,10 +36,6 @@ FROM nginx:alpine # Copy the built app to the NGINX web server directory # 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