forked from jmug/cactoide
add healthz, docker fixes, minor readme tweaks
This commit is contained in:
committed by
Levente Orban
parent
cc8266ae6e
commit
94fffc5695
@@ -20,4 +20,8 @@ EXPOSE 3000
|
||||
|
||||
ENV PORT 3000
|
||||
ENV HOSTNAME "0.0.0.0"
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
|
||||
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:3000/healthz || exit 1
|
||||
|
||||
CMD [ "node", "build" ]
|
||||
|
||||
Reference in New Issue
Block a user