FROM node:20-alpine AS builder WORKDIR /app RUN apk add --no-cache bash git python3 make g++ \ && corepack enable \ && corepack prepare pnpm@8.15.8 --activate COPY pnpm-workspace.yaml package.json ./ COPY apps ./apps COPY packages ./packages COPY internal ./internal COPY scripts ./scripts RUN pnpm install --no-frozen-lockfile RUN pnpm add -D less sass --workspace-root RUN pnpm --filter @vben/web-antd... build FROM nginx:alpine COPY apps/web-antd/nginx.conf /etc/nginx/conf.d/default.conf COPY --from=builder /app/apps/web-antd/dist /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]