fix: re-include release binaries in docker build context
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/.
This commit is contained in:
parent
df976d16cb
commit
4a81fa3b96
@ -1,4 +1,3 @@
|
|||||||
target/
|
|
||||||
.git/
|
.git/
|
||||||
.idea/
|
.idea/
|
||||||
.vscode/
|
.vscode/
|
||||||
@ -7,3 +6,9 @@ node_modules/
|
|||||||
.env
|
.env
|
||||||
.env.local
|
.env.local
|
||||||
.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/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user