change port docker to 3010 for healthcheck

This commit is contained in:
corenthin-lebreton 2026-02-26 22:51:08 +01:00
parent 3bc6e7b002
commit 5889e51945

View File

@ -65,6 +65,6 @@ ENV NODE_ENV=production \
EXPOSE 3010
HEALTHCHECK --interval=30s --timeout=10s --start-period=20s --retries=3 \
CMD wget -qO- http://localhost:3000/ | grep -q "html" || exit 1
CMD wget -qO- http://localhost:3010/ | grep -q "html" || exit 1
CMD ["node", "server.js"]