From 4a81fa3b96e89a07469fd76ef04cc0ef1ff2275a Mon Sep 17 00:00:00 2001 From: ZhenYi <434836402@qq.com> Date: Wed, 15 Apr 2026 09:44:48 +0800 Subject: [PATCH] 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/. --- .dockerignore | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index aa068ac..c9d728b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,3 @@ -target/ .git/ .idea/ .vscode/ @@ -7,3 +6,9 @@ node_modules/ .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/