Add HEALTHCHECK with 120s start period for Next.js startup time

This commit is contained in:
Kev
2026-06-09 22:33:12 -04:00
parent 461b24da08
commit b0890dadae
+1
View File
@@ -60,4 +60,5 @@ ENTRYPOINT ["/sbin/tini", "--"]
ENV HOSTNAME=0.0.0.0
HEALTHCHECK --interval=30s --timeout=10s --start-period=120s --retries=5 CMD wget -qO- http://localhost:3000/ || exit 1
CMD ["node", "server.js"]