mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
rust needs way more than I realized
This commit is contained in:
parent
ce77046d86
commit
3c49529fe3
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ COPY . .
|
||||||
RUN cargo build --release --bin bot
|
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 debian:slim AS runtime
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/target/release/bot /usr/local/bin
|
COPY --from=builder /app/target/release/bot /usr/local/bin/bot
|
||||||
ENTRYPOINT ["/usr/local/bin/bot"]
|
ENTRYPOINT ["/usr/local/bin/bot"]
|
Loading…
Add table
Reference in a new issue