Rustbot/Dockerfile

11 lines
364 B
Docker
Raw Permalink Normal View History

FROM scratch AS base
WORKDIR /builder
2023-12-08 05:19:17 -05:00
COPY . .
FROM alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a
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 05:19:17 -05:00
WORKDIR /rustbot
COPY --from=base /builder/target/x86_64-unknown-linux-musl/release/rustbot .
CMD [ "./rustbot" ]