FROM node:20-alpine AS builder RUN corepack enable && corepack prepare pnpm@latest --activate WORKDIR /app RUN apk add --no-cache git RUN git clone https://git.raphaelforment.fr/BuboBubo/oldboy . RUN pnpm install --frozen-lockfile RUN pnpm build FROM nginx:alpine COPY --from=builder /app/dist /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]