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:
ZhenYi 2026-04-15 09:44:48 +08:00
parent df976d16cb
commit 4a81fa3b96

View File

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