From 7dbe7062820e6712bc882204ea7a904473e5e096 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 20 Nov 2023 11:45:28 +0100 Subject: [PATCH] fix: Healthcheck start period --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 92ffaa5..e2a5f3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ RUN apt-get update && apt-get -y upgrade && \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* -COPY src/*.sh /run/ +COPY ./src /run/ COPY --from=builder /qemu-host.bin /run/host.bin RUN chmod +x /run/*.sh && chmod +x /run/*.bin @@ -63,6 +63,6 @@ LABEL org.opencontainers.image.source="https://github.com/vdsm/virtual-dsm/" LABEL org.opencontainers.image.url="https://hub.docker.com/r/vdsm/virtual-dsm/" LABEL org.opencontainers.image.description="Virtual DSM in a docker container" -HEALTHCHECK --interval=60s --retries=2 CMD /run/check.sh +HEALTHCHECK --interval=60s --start-period=45s --retries=2 CMD /run/check.sh ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]