We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcdb125 commit bac4d97Copy full SHA for bac4d97
1 file changed
Dockerfile
@@ -14,12 +14,14 @@ COPY src ./src
14
RUN cargo build --release
15
16
FROM debian:trixie-slim AS runtime
17
+RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates && rm -rf /var/lib/apt/lists/*
18
+
19
COPY --from=builder /usr/src/rpcproxy/target/release/rpcproxy /usr/local/bin/rpcproxy
20
21
USER nobody
22
EXPOSE 9000
23
24
HEALTHCHECK --interval=15s --timeout=5s --start-period=30s --retries=3 \
- CMD wget -qO- http://localhost:9000/health || exit 1
25
+ CMD curl -sf http://localhost:9000/health || exit 1
26
27
ENTRYPOINT ["rpcproxy"]
0 commit comments