feat: add healthcheck endpoints, Dockerfiles, and admin middleware configuration

This commit is contained in:
2026-10-21 22:59:35 +02:00
parent f5548ab326
commit 2fdabe1dfd
7 changed files with 50 additions and 1 deletions

View File

@@ -17,5 +17,8 @@ RUN chown -R nextjs:nodejs /app
USER nextjs
HEALTHCHECK --interval=15s --timeout=5s --start-period=30s --retries=5 \
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/api/health || exit 1
# On lance directement via npm
CMD ["npm", "start"]