Rustbot/Dockerfile

11 lines
309 B
Docker

FROM scratch AS base
WORKDIR /builder
COPY . .
FROM adelielinux/adelie:1.0-beta6
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" ]