this repo has no description
1FROM node:22-alpine AS builder
2
3WORKDIR /app
4
5RUN corepack enable && corepack prepare pnpm@latest --activate
6
7COPY package.json pnpm-lock.yaml .npmrc ./
8RUN pnpm install --frozen-lockfile
9
10COPY . .
11RUN pnpm run build
12
13FROM nginx:alpine
14
15COPY --from=builder /app/dist /usr/share/nginx/html
16COPY nginx.conf /etc/nginx/conf.d/default.conf
17
18EXPOSE 80
19CMD ["nginx", "-g", "daemon off;"]