Rustbot/Dockerfile
Renovate 692d25a000 Update alpine:3.20 Docker digest to 1e42bbe (#145)
Co-authored-by: Renovate <system@toast-server.net>
Co-committed-by: Renovate <system@toast-server.net>
2024-11-11 23:48:38 -05:00

11 lines
364 B
Docker

FROM scratch AS base
WORKDIR /builder
COPY . .
FROM alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a
LABEL org.opencontainers.image.source="https://git.toast-server.net/toast/Rustbot"
RUN apk add --no-cache libgcc
WORKDIR /rustbot
COPY --from=base /builder/target/x86_64-unknown-linux-musl/release/rustbot .
CMD [ "./rustbot" ]