From e7e902da2b35dd9eadd30e71a49ae77851ce8bb9 Mon Sep 17 00:00:00 2001 From: Mathew Richmond Date: Wed, 18 Oct 2023 09:54:33 -0700 Subject: [PATCH] Set config options for healthcheck for faster start --- Dockerfile.l1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.l1 b/Dockerfile.l1 index 9d08dc7..cc1018b 100644 --- a/Dockerfile.l1 +++ b/Dockerfile.l1 @@ -6,6 +6,6 @@ COPY entrypoint-l1.sh /entrypoint.sh VOLUME ["/db"] -HEALTHCHECK CMD curl --fail http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}' +HEALTHCHECK --start-period=300s --start-interval=1s CMD curl --fail http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}' ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]