This commit is contained in:
JMARyA 2024-12-26 01:07:43 +01:00
parent 221b2a82e7
commit 2ed9cd25a3
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
7 changed files with 126 additions and 7 deletions

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
FROM rust:buster as builder
RUN rustup default nightly
COPY . /app
WORKDIR /app
RUN cargo build --release
FROM archlinux
RUN pacman -Syu --noconfirm
COPY --from=builder /app/target/release/pacco /pacco
WORKDIR /
CMD ["/pacco"]