2024-10-21 02:36:18 -04:00
|
|
|
FROM scratch AS base
|
2024-08-09 18:19:59 -04:00
|
|
|
WORKDIR /builder
|
2023-12-08 05:19:17 -05:00
|
|
|
COPY . .
|
|
|
|
|
2024-11-11 23:48:38 -05:00
|
|
|
FROM alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a
|
2024-08-09 18:19:59 -04:00
|
|
|
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
|
2024-10-21 02:36:18 -04:00
|
|
|
COPY --from=base /builder/target/x86_64-unknown-linux-musl/release/rustbot .
|
|
|
|
CMD [ "./rustbot" ]
|