From b22285b52cbfa7a9d76d69652df1c574d8f582f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20R=C3=B3=C5=BCa=C5=84ski?= Date: Thu, 11 Jul 2024 08:49:43 +0200 Subject: [PATCH] fix service binary name in Dockerfile --- service/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/Dockerfile b/service/Dockerfile index 202c91bb..91e24752 100644 --- a/service/Dockerfile +++ b/service/Dockerfile @@ -20,9 +20,9 @@ COPY --from=planner /service/recipe.json recipe.json RUN cargo chef cook --release -p service --recipe-path recipe.json COPY . . -RUN cargo build --release -p service --bin service +RUN cargo build --release -p service --bin post-service FROM debian:bookworm-slim AS runtime WORKDIR /service -COPY --from=builder /service/target/release/service /usr/local/bin -ENTRYPOINT ["/usr/local/bin/service"] \ No newline at end of file +COPY --from=builder /service/target/release/post-service /usr/local/bin +ENTRYPOINT ["/usr/local/bin/post-service"]