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-10-21 17:30:23 -04:00
|
|
|
FROM alpine:3.20@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d
|
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" ]
|