From 253d885f8a2aa5d63fc5fc2ceb2d3472417d3107 Mon Sep 17 00:00:00 2001 From: goldsquid Date: Thu, 19 Jun 2025 13:53:09 +0700 Subject: [PATCH] make it stop --- hyperliquid/visor.Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hyperliquid/visor.Dockerfile b/hyperliquid/visor.Dockerfile index 7b2cc859..2be169e4 100644 --- a/hyperliquid/visor.Dockerfile +++ b/hyperliquid/visor.Dockerfile @@ -9,9 +9,9 @@ ARG HL_VISOR_URL_MAINNET=https://binaries.hyperliquid.xyz/Mainnet/hl-visor WORKDIR /root -# Install required tools +# Install required tools including tini RUN apt-get update && \ - apt-get install -y curl gnupg gawk && \ + apt-get install -y curl gnupg gawk tini && \ rm -rf /var/lib/apt/lists/* RUN curl -o /root/pub_key.asc $PUB_KEY_URL \ @@ -42,5 +42,5 @@ VOLUME /root/hl/data # Expose gossip ports EXPOSE 4000-4010 -# Run a non-validating node -ENTRYPOINT ["/root/entrypoint.sh"] \ No newline at end of file +# Run a non-validating node with tini as init +ENTRYPOINT ["tini", "--", "/root/entrypoint.sh"] \ No newline at end of file