dockerize

This commit is contained in:
b1ek 2023-08-05 03:55:08 +10:00
parent 4e3ab96b40
commit b7003f4cb6
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 10 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -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" ]