pacco/Dockerfile
JMARyA 6e138a4c94
All checks were successful
ci/woodpecker/push/build Pipeline was successful
fix docker
2025-04-16 09:04:22 +02:00

18 lines
326 B
Docker

FROM rust:buster as builder
RUN rustup default nightly
COPY . /app
WORKDIR /app
RUN cargo build --release
FROM archlinux
RUN pacman -Syu --noconfirm openssl-1.1 tar xz zstd curl base-devel git rsync
COPY --from=builder /app/target/release/pacco /usr/bin/pacco
WORKDIR /
CMD ["/usr/bin/pacco", "serve", "/config.toml"]