diff --git a/packages/bot/Dockerfile b/packages/bot/Dockerfile index 603e409..3e94476 100644 --- a/packages/bot/Dockerfile +++ b/packages/bot/Dockerfile @@ -13,10 +13,10 @@ COPY --from=planner /app/recipe.json recipe.json RUN cargo chef cook --release --recipe-path recipe.json # Build application COPY . . -RUN cargo build --release --bin app +RUN cargo build --release --bin bot # We do not need the Rust toolchain to run the binary! FROM gcr.io/distroless/base AS runtime WORKDIR /app -COPY --from=builder /app/target/release/app /usr/local/bin -ENTRYPOINT ["/usr/local/bin/app"] \ No newline at end of file +COPY --from=builder /app/target/release/bot /usr/local/bin +ENTRYPOINT ["/usr/local/bin/bot"] \ No newline at end of file