build: update cicd

This commit is contained in:
2025-11-26 15:32:21 +01:00
parent 0a96abfe9c
commit a55bb9da97
6 changed files with 274 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
# Dockerfile pour Frontend Vue.js
# Stage 1: Build
FROM node:22-alpine AS builder
FROM docker.io/library/node:22-alpine AS builder
WORKDIR /app
@@ -17,7 +17,7 @@ COPY . .
RUN npm run build
# Stage 2: Production avec Nginx
FROM nginx:alpine
FROM docker.io/library/nginx:alpine
# Copier le build depuis le stage précédent
COPY --from=builder /app/dist /usr/share/nginx/html