FROM node:22-alpine AS build WORKDIR /src COPY frontend/package.json frontend/package-lock.json ./ RUN npm ci COPY frontend/ ./ RUN npm run build FROM nginx:stable-alpine COPY --from=build /src/dist /usr/share/nginx/html COPY deploy/nginx/compose.conf /etc/nginx/conf.d/default.conf