change port docker to 3010 for healthcheck
This commit is contained in:
parent
3bc6e7b002
commit
5889e51945
@ -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"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user