watchdogs/Dockerfile
2024-10-05 01:21:43 +02:00

17 lines
302 B
Docker

FROM rust:buster as builder
COPY . /app
WORKDIR /app
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"]