pr_bot/Dockerfile

14 lines
256 B
Docker

FROM rust as builder
WORKDIR /opt/build
COPY . .
RUN cargo install --path .
FROM archlinux
WORKDIR /opt/data
COPY --from=builder /usr/local/cargo/bin/gitea-bot /bin/gitea-bot
RUN pacman -Sy && \
pacman -S openssl-1.1 --noconfirm
CMD [ "gitea-bot" ]