Add dockerfile and more variety for formulas

This commit is contained in:
2025-09-30 22:35:39 +02:00
parent 0afac7b6f1
commit db982dd015
2 changed files with 116 additions and 8 deletions

21
Dockerfile Normal file
View File

@ -0,0 +1,21 @@
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;"]