Files
bruitiste/Dockerfile

22 lines
378 B
Docker

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