Update Vite build configuration in vite.config.ts

This commit is contained in:
2025-02-03 11:42:48 +07:00
parent b4309a2ea4
commit 2b2a9157fd

View File

@@ -33,7 +33,12 @@ RUN npm run build
FROM nginx:alpine FROM nginx:alpine
# Copy the built app to the NGINX web server directory # 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 port 80 for the NGINX web server
EXPOSE 80 EXPOSE 80