Skip to content

Commit b1c77b3

Browse files
authored
fix: rm node from dockerfile entrypoint (paradigmxyz#3275)
1 parent 0a752d7 commit b1c77b3

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
FROM lukemathwalker/cargo-chef:latest-rust-1 AS chef
22
WORKDIR app
33

4+
LABEL org.opencontainers.image.source=https://github.com/paradigmxyz/reth
5+
LABEL org.opencontainers.image.licenses="MIT OR Apache-2.0"
6+
47
# Builds a cargo-chef plan
58
FROM chef AS planner
69
COPY . .
@@ -31,4 +34,4 @@ WORKDIR app
3134
COPY --from=builder /app/target/release/reth /usr/local/bin
3235

3336
EXPOSE 30303 30303/udp 9000 8545 8546
34-
ENTRYPOINT ["/usr/local/bin/reth", "node"]
37+
ENTRYPOINT ["/usr/local/bin/reth"]

Dockerfile.cross

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
# locatable in `./dist/bin/$TARGETARCH`
44
FROM --platform=$TARGETPLATFORM ubuntu:22.04
55

6+
LABEL org.opencontainers.image.source=https://github.com/paradigmxyz/reth
7+
LABEL org.opencontainers.image.licenses="MIT OR Apache-2.0"
8+
69
# Filled by docker buildx
710
ARG TARGETARCH
811

912
COPY ./dist/bin/$TARGETARCH/reth /usr/local/bin/reth
1013

1114
EXPOSE 30303 30303/udp 9000 8545 8546
12-
ENTRYPOINT ["/usr/local/bin/reth", "node"]
15+
ENTRYPOINT ["/usr/local/bin/reth"]

book/installation/docker.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ docker pull ghcr.io/paradigmxyz/reth:v0.0.1
2727
You can test the image with:
2828

2929
```bash
30-
docker run --rm ghcr.io/paradigmxyz/reth reth --version
30+
docker run --rm ghcr.io/paradigmxyz/reth --version
3131
```
3232

3333
If you can see the latest [Reth release](https://github.com/paradigmxyz/reth/releases) version, then you've successfully installed Reth via Docker.
@@ -43,5 +43,5 @@ docker build . -t reth:local
4343
The build will likely take several minutes. Once it's built, test it with:
4444

4545
```bash
46-
docker run reth:local reth --version
46+
docker run reth:local --version
4747
```

0 commit comments

Comments
 (0)