Skip to content

Commit 3d1be79

Browse files
committed
add dockerignore
with "exclude everything, allow only what's needed" manner
1 parent 4ed5ac4 commit 3d1be79

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.dockerignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Exclude everything by default
2+
*
3+
4+
# Cargo manifest & lockfile
5+
!Cargo.toml
6+
!Cargo.lock
7+
8+
# Rust toolchain
9+
!rust-toolchain.toml
10+
11+
# Source code
12+
!src/
13+
!src/**
14+
15+
# Patched crates ([replace] in Cargo.toml)
16+
!patches/
17+
!patches/**
18+
19+
# Cargo requires [[bench]] and [[test]] sources to exist at manifest parse time
20+
!benches/
21+
!benches/**
22+
!tests/bdd/main.rs

0 commit comments

Comments
 (0)