Force l'environnemnt au BUILD

This commit is contained in:
2026-01-21 09:30:40 +01:00
parent 7cfe8b5f69
commit 0c3dc9c9d5
3 changed files with 182 additions and 189 deletions

View File

@@ -28,6 +28,7 @@ RUN rm -rf /usr/share/nginx/html/*
# Copy frontend dist folder to nginx html directory
COPY --from=build-frontend /app/dist/browser /usr/share/nginx/html
RUN mkdir -p /usr/share/nginx/html/config
# Copy backend from the correct build stage
COPY --from=build-backend /app/publish /app