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