The .dockerignore excluded the entire target/ directory, preventing COPY of pre-built binaries into runtime-only Docker images. Now explicitly allows target/x86_64-unknown-linux-gnu/release/.
15 lines
254 B
Plaintext
15 lines
254 B
Plaintext
.git/
|
|
.idea/
|
|
.vscode/
|
|
node_modules/
|
|
*.log
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Exclude all target artifacts except the linux release binaries
|
|
target/
|
|
!target/x86_64-unknown-linux-gnu/
|
|
target/x86_64-unknown-linux-gnu/
|
|
!target/x86_64-unknown-linux-gnu/release/
|