mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 11:29:12 +00:00
cargo bin is named bot, not app
This commit is contained in:
parent
9611b26378
commit
ce77046d86
1 changed files with 3 additions and 3 deletions
|
@ -13,10 +13,10 @@ COPY --from=planner /app/recipe.json recipe.json
|
||||||
RUN cargo chef cook --release --recipe-path recipe.json
|
RUN cargo chef cook --release --recipe-path recipe.json
|
||||||
# Build application
|
# Build application
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN cargo build --release --bin app
|
RUN cargo build --release --bin bot
|
||||||
|
|
||||||
# We do not need the Rust toolchain to run the binary!
|
# We do not need the Rust toolchain to run the binary!
|
||||||
FROM gcr.io/distroless/base AS runtime
|
FROM gcr.io/distroless/base AS runtime
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/target/release/app /usr/local/bin
|
COPY --from=builder /app/target/release/bot /usr/local/bin
|
||||||
ENTRYPOINT ["/usr/local/bin/app"]
|
ENTRYPOINT ["/usr/local/bin/bot"]
|
Loading…
Add table
Reference in a new issue