Rustbot/Dockerfile

11 lines
381 B
Docker
Raw Normal View History

FROM scratch AS base
WORKDIR /builder
2023-12-08 21:19:17 +11:00
COPY . .
FROM adelielinux/adelie:1.0-beta6@sha256:7126a96c19be064a487ba7176baa58200a26ce8fda02b851b4a0bef760b1f469
LABEL org.opencontainers.image.source="https://git.toast-server.net/toast/Rustbot"
2024-05-02 19:25:29 -04:00
RUN apk add --no-cache libgcc
2023-12-08 21:19:17 +11:00
WORKDIR /rustbot
COPY --from=base /builder/target/x86_64-unknown-linux-musl/release/rustbot .
CMD [ "./rustbot" ]