FROM node:22-alpine AS build WORKDIR /workspace COPY frontend/package*.json ./ RUN npm ci COPY frontend ./ RUN npm run build FROM nginx:1.27-alpine COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf COPY --from=build /workspace/dist /usr/share/nginx/html EXPOSE 80