📦 Backend (Python): - FastAPI: 0.109 → 0.115+ - SQLAlchemy: 2.0.25 → 2.0.36+ - Pydantic: 2.5 → 2.10+ - Uvicorn: 0.27 → 0.32+ - pytest: 7.4 → 8.3+ - Python: 3.11 → 3.12 (Docker) - Support Python 3.11-3.13 📦 Frontend (Node): - Vue.js: 3.4 → 3.5.13 - Vite: 5.0 → 6.0.3 - Vue Router: 4.2 → 4.5.0 - Pinia: 2.1 → 2.2.6 - TailwindCSS: 3.4.0 → 3.4.17 - Chart.js: 4.4.1 → 4.4.7 - Node.js: 18 → 22 LTS (Docker) 🐳 Docker: - Prérequis Docker: 20.10+ → 24.0+ - Docker Compose: 2.0+ → 2.20+ 📝 Documentation: - README.md: Versions mises à jour - DOCKER.md: Prérequis actualisés - CHANGELOG.md: Nouveau fichier avec historique complet ✅ Toutes les versions utilisent les dernières releases stables (Nov 2025)
33 lines
599 B
Docker
33 lines
599 B
Docker
# Dockerfile pour Frontend Vue.js
|
|
# Stage 1: Build
|
|
FROM node:22-alpine AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
# Copier package.json et package-lock.json
|
|
COPY package*.json ./
|
|
|
|
# Installer les dépendances
|
|
RUN npm ci
|
|
|
|
# Copier le code source
|
|
COPY . .
|
|
|
|
# Build de production
|
|
RUN npm run build
|
|
|
|
# Stage 2: Production avec Nginx
|
|
FROM nginx:alpine
|
|
|
|
# Copier le build depuis le stage précédent
|
|
COPY --from=builder /app/dist /usr/share/nginx/html
|
|
|
|
# Copier la configuration Nginx
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
# Exposer le port
|
|
EXPOSE 80
|
|
|
|
# Commande de démarrage
|
|
CMD ["nginx", "-g", "daemon off;"]
|