fix: exclude non source files in .dockerignore (#3387)

This commit is contained in:
Paolo Facchinetti
2023-06-26 18:36:44 +02:00
committed by GitHub
parent 3c126a04d8
commit 6d4fe271fc
2 changed files with 22 additions and 6 deletions

View File

@ -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-*