pr_bot/Dockerfile

11 lines
186 B
Docker
Raw Normal View History

2023-08-04 19:55:08 +02:00
FROM rust as builder
WORKDIR /opt/build
RUN cargo install --path .
FROM alpine
2023-08-04 19:59:10 +02:00
WORKDIR /opt/data
2023-08-04 19:55:08 +02:00
COPY --from=builder /usr/local/cargo/bin/gitea-bot /bin/gitea-bot
RUN [ "gitea-bot" ]