FROM scratch AS base WORKDIR /builder COPY . . FROM alpine:3.21@sha256:21dc6063fd678b478f57c0e13f47560d0ea4eeba26dfc947b2a4f81f686b9f45 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" ]