FROM node:20-alpine AS builder WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build CMD ["sh", "-c", "cp -rd /app/dist/* /out/"]