better healthcheck
This commit is contained in:
@@ -6,7 +6,7 @@ RUN \
|
|||||||
|
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
HEALTHCHECK --interval=2m --timeout=3s --start-period=30s \
|
HEALTHCHECK --interval=1m --timeout=3s --start-period=20s --retries=1 \
|
||||||
CMD /app/healthcheck.sh || exit 1
|
CMD /app/healthcheck.sh || exit 1
|
||||||
|
|
||||||
ENTRYPOINT [ "/sbin/tini", "/app/entrypoint.sh" ]
|
ENTRYPOINT [ "/sbin/tini", "/app/entrypoint.sh" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user