merge(develop): clôture ticket #28 et stabilisation build/prod
Intègre en un seul commit master les changements de develop : templates email de validation (#28), alignement schéma validations + patches SQL, montée Flutter 3.29 (CI/Docker), correctifs bootstrap web/nginx/API origin et gestion HTTP 201 sur validation dossier famille. Made-with: Cursor
This commit is contained in:
+5
-1
@@ -1,5 +1,5 @@
|
||||
# Stage builder
|
||||
FROM ghcr.io/cirruslabs/flutter:3.19.0 AS builder
|
||||
FROM ghcr.io/cirruslabs/flutter:3.29.3 AS builder
|
||||
WORKDIR /app
|
||||
COPY pubspec.* ./
|
||||
RUN flutter pub get
|
||||
@@ -8,6 +8,10 @@ RUN flutter build web --release
|
||||
|
||||
# Stage production
|
||||
FROM nginx:alpine
|
||||
# Image nginx:alpine contient déjà index.html « Welcome to nginx ».
|
||||
# Un merge de dossiers sans nettoyage peut laisser ce fichier si le build
|
||||
# Flutter n’écrase pas tous les fichiers → SPA invisible. On vide d’abord.
|
||||
RUN rm -rf /usr/share/nginx/html/*
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=builder /app/build/web /usr/share/nginx/html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user