dockerize
This commit is contained in:
parent
4e3ab96b40
commit
b7003f4cb6
|
@ -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" ]
|
Loading…
Reference in New Issue