From 4da2bef8777eddb3a7d1f7df5cce1dd8f73c8b5e Mon Sep 17 00:00:00 2001 From: tanasegabriel Date: Mon, 6 Jan 2025 22:25:36 +0000 Subject: [PATCH] Snappier container healthchecks --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e0f6d66d..10bd6bc0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,7 @@ COPY --from=build-stage --chown=${UID}:${GID} /app/dist/assets /www/default-asse USER ${UID}:${GID} -HEALTHCHECK --interval=30s --timeout=5s --retries=3 \ +HEALTHCHECK --start-period=10s --start-interval=1s --interval=30s --timeout=5s --retries=3 \ CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1 EXPOSE ${PORT}