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.
This commit is contained in:
parent
4a81fa3b96
commit
f026dcfae2
@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /app
|
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
|
ENV APP_LOG_LEVEL=info
|
||||||
ENTRYPOINT ["/app/email-worker"]
|
ENTRYPOINT ["/app/email-worker"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user