pr_bot/Dockerfile

12 lines
200 B
Docker

FROM rust as builder
WORKDIR /opt/build
COPY . .
RUN cargo install --path .
FROM alpine
WORKDIR /opt/data
COPY --from=builder /usr/local/cargo/bin/gitea-bot /bin/gitea-bot
RUN [ "/bin/gitea-bot" ]