watchdogs/Dockerfile
JMARyA 0d78c12c5a
Some checks failed
ci/woodpecker/push/build Pipeline failed
add ffmpeg
2024-12-14 01:24:54 +01:00

18 lines
336 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 ffmpeg
COPY --from=builder /app/target/release/watchdogs /watchdogs
WORKDIR /
CMD ["/watchdogs"]