Compare commits

...

2 Commits

Author SHA1 Message Date
1efbbdf6a9 add creators
All checks were successful
Build & Deploy SimO / 🏗️ Build & Deploy (push) Successful in 1m18s
2026-02-22 23:10:32 +01:00
dd32164456 fix: install curl in nginx image for healthcheck
All checks were successful
Build & Deploy SimO / 🏗️ Build & Deploy (push) Successful in 1m15s
2026-02-22 23:04:41 +01:00
2 changed files with 7 additions and 1 deletions

View File

@@ -14,6 +14,9 @@ RUN npm run build
# ── Stage 2: Production (nginx pour servir le static export) ─────────────────
FROM nginx:alpine
# Installer curl pour le healthcheck
RUN apk add --no-cache curl
# Copier la config nginx personnalisée
COPY nginx.conf /etc/nginx/conf.d/default.conf
@@ -27,7 +30,7 @@ RUN chmod +x /docker-entrypoint.sh
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
CMD wget -qO- http://localhost:3000/ || exit 1
CMD curl -f http://localhost:3000/ || exit 1
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]

View File

@@ -102,6 +102,9 @@ function SimulationPage() {
SimO Simulateur de prêt immobilier gratuit et open source.
Les résultats sont donnés à titre indicatif.
</p>
<p>
Calculs realisés par Loick Deniaud, Front & Back realisé par Antoine Poidevin.
</p>
<p>
Calculs basés sur des formules d'amortissement standard.
Consultez un professionnel pour votre projet.