FROM localhost:8082/node:20-alpine AS build WORKDIR /app COPY package.json package-lock.json ./ RUN npm --registry http://localhost:8081/repository/npm-group/ ci COPY . . RUN npm run build FROM localhost:8082/nginx:alpine COPY --from=build /app/dist /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80