FROM node:22-alpine AS builder WORKDIR /app COPY frontend/package.json frontend/package-lock.json ./ RUN npm ci COPY frontend/ . RUN npm run build FROM nginx:alpine COPY --from=builder /app/dist /usr/share/nginx/html COPY infra/nginx.conf /etc/nginx/nginx.conf EXPOSE 80 443