Rustbot/Dockerfile
Renovate ce911bdd7a Update alpine Docker tag to v3.21 (#150)
Co-authored-by: Renovate <system@toast-server.net>
Co-committed-by: Renovate <system@toast-server.net>
2024-12-05 17:36:58 -05:00

11 lines
364 B
Docker

FROM scratch AS base
WORKDIR /builder
COPY . .
FROM alpine:3.21@sha256:eb37f58646a901dc7727cf448cae36daaefaba79de33b5058dab79aa4c04aefb
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" ]