feat: site Le Moulin des Rives — design Tailwind + config Docker

This commit is contained in:
2026-05-28 23:46:36 +02:00
parent 87186db304
commit 1411e6816d
19 changed files with 1060 additions and 19 deletions
+18
View File
@@ -0,0 +1,18 @@
# ── Étape 1 : build ──────────────────────────────────────────────
FROM node:22-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
# ── Étape 2 : serveur statique ───────────────────────────────────
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80