pacco/Dockerfile
JMARyA cd3122e6c0
Some checks failed
ci/woodpecker/push/build Pipeline failed
🚑️ fix
2025-04-17 08:15:54 +02:00

18 lines
376 B
Docker

FROM rust:buster as builder
RUN rustup default nightly
COPY . /app
WORKDIR /app
RUN cargo build --release
FROM git.hydrar.de/navos/navos:latest
RUN pacman -Syu --noconfirm && 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"]