Compare commits
2 Commits
d354b3525a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1efbbdf6a9 | |||
| dd32164456 |
@@ -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;"]
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user