FROM node:24-alpine AS build WORKDIR /src COPY package*.json ./ RUN npm ci --no-audit --no-fund COPY . ./ RUN npm run build FROM nginx:1.27-alpine COPY nginx.conf.template /etc/nginx/templates/default.conf.template COPY --from=build /src/dist/ /usr/share/nginx/html/ EXPOSE 8080