regroup backend and frontend in app folder

This commit is contained in:
Blomios
2026-03-07 19:16:14 +01:00
parent 66c72f46a2
commit b5bc405771
28315 changed files with 206 additions and 3227368 deletions

21
app/frontend/Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM --platform=$BUILDPLATFORM node:22-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --include=optional --legacy-peer-deps
COPY . .
RUN npm run build
FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html/*
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]