pr_bot/Dockerfile

13 lines
227 B
Docker

FROM rust:alpine as builder
WORKDIR /opt/build
COPY . .
RUN apk add openssl && \
cargo install --path .
FROM alpine
WORKDIR /opt/data
COPY --from=builder /usr/local/cargo/bin/gitea-bot /bin/gitea-bot
CMD [ "gitea-bot" ]