Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 19 additions & 6 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
/target
/book
/assets
/.github
/data
*.tar.gz
# exclude everything
*

# include source files
!/bin
!/crates
!/testing
!book.toml
!Cargo.lock
!Cargo.toml
!Cross.toml
!deny.toml
!Makefile

# include dist directory, where the reth binary is located after compilation
!/dist

# include licenses
!LICENSE-*
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@ WORKDIR app
# Copy reth over from the build stage
COPY --from=builder /app/target/release/reth /usr/local/bin

# Copy licenses
COPY LICENSE-* .

EXPOSE 30303 30303/udp 9001 8545 8546
ENTRYPOINT ["/usr/local/bin/reth"]