diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6f949c9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM rust as builder + +WORKDIR /opt/build +RUN cargo install --path . + +FROM alpine + +COPY --from=builder /usr/local/cargo/bin/gitea-bot /bin/gitea-bot + +RUN [ "gitea-bot" ] \ No newline at end of file