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-12-05 20:37:14 -05:00
|
|
|
FROM alpine:3.21@sha256:21dc6063fd678b478f57c0e13f47560d0ea4eeba26dfc947b2a4f81f686b9f45
|
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" ]
|