FROM node:24-alpine AS build WORKDIR /app COPY package.json package-lock.json ./ RUN npm ci --no-audit --no-fund COPY . . RUN npm run build FROM nginx:1.31-alpine ENV ATLAS_GATEWAY_URL=http://item-atlas-gateway:8080 COPY nginx.conf.template /etc/nginx/templates/default.conf.template COPY --from=build /app/dist/build/h5 /usr/share/nginx/html