File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ RUN cp /app/target/$BUILD_PROFILE/ev-reth /ev-reth
5454FROM ubuntu:24.04 AS runtime
5555
5656RUN apt-get update && \
57- apt-get install -y ca-certificates curl jq libssl-dev pkg-config strace && \
57+ apt-get install -y ca-certificates curl jq libssl-dev pkg-config strace tini && \
5858 rm -rf /var/lib/apt/lists/*
5959
6060WORKDIR /app
@@ -69,4 +69,4 @@ EXPOSE 30303 30303/udp 9001 8545 8546 7545 8551
6969HEALTHCHECK --interval=30s --timeout=3s --start-period=40s --retries=3 \
7070 CMD /usr/local/bin/ev-reth --version || exit 1
7171
72- ENTRYPOINT ["/usr/local/bin/ev-reth" ]
72+ ENTRYPOINT ["/usr/bin/tini" , "--" , "/usr/ local/bin/ev-reth" ]
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ ARG BUILDPLATFORM
99# Copy the pre-built binary based on the target platform
1010COPY dist/bin/${TARGETPLATFORM}/ev-reth /usr/local/bin/ev-reth
1111
12- RUN apt-get update && apt-get install -y --no-install-recommends curl jq && rm -rf /var/lib/apt/lists/*
12+ RUN apt-get update && apt-get install -y --no-install-recommends curl jq tini && rm -rf /var/lib/apt/lists/*
1313
1414# Expose default ports
1515EXPOSE 8545 8546 30303 6060 9001
1616
1717# Set the entrypoint
18- ENTRYPOINT ["/usr/local/bin/ev-reth"]
18+ ENTRYPOINT ["/usr/bin/tini", "--", "/usr/ local/bin/ev-reth"]
You can’t perform that action at this time.
0 commit comments