From f026dcfae20fa414922c137d9228a3bc95385bb4 Mon Sep 17 00:00:00 2001 From: ZhenYi <434836402@qq.com> Date: Wed, 15 Apr 2026 09:49:05 +0800 Subject: [PATCH] fix: email-worker binary name mismatch COPY path used email-server but cargo builds email-worker. Also add --cache --cache-dir to kaniko builds for target cache. --- docker/email-worker.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/email-worker.Dockerfile b/docker/email-worker.Dockerfile index efd349b..dfcec89 100644 --- a/docker/email-worker.Dockerfile +++ b/docker/email-worker.Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* WORKDIR /app -COPY target/x86_64-unknown-linux-gnu/release/email-server /app/email-worker +COPY target/x86_64-unknown-linux-gnu/release/email-worker /app/email-worker ENV APP_LOG_LEVEL=info ENTRYPOINT ["/app/email-worker"]