watchdogs/Dockerfile

19 lines
329 B
Text
Raw Normal View History

2024-09-15 04:09:46 +02:00
FROM rust:buster as builder
COPY . /app
WORKDIR /app
2024-12-12 20:32:46 +01:00
RUN rustup default nightly
2024-09-15 04:09:46 +02:00
RUN cargo build --release
2024-10-05 01:21:43 +02:00
FROM debian:buster
2024-09-15 04:09:46 +02:00
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"]