watchdogs/Dockerfile
JMARyA 2d2f7c5522
All checks were successful
ci/woodpecker/push/build Pipeline was successful
nightly
2024-12-12 20:32:46 +01:00

18 lines
329 B
Docker

FROM rust:buster as builder
COPY . /app
WORKDIR /app
RUN rustup default nightly
RUN cargo build --release
FROM debian:buster
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y ca-certificates openssl mkvtoolnix sqlite3
COPY --from=builder /app/target/release/watchdogs /watchdogs
WORKDIR /
CMD ["/watchdogs"]