watchdogs/Dockerfile

20 lines
337 B
Text
Raw Normal View History

2024-09-15 04:09:46 +02:00
FROM rust:buster as builder
2024-12-18 20:37:12 +01:00
RUN rustup default nightly
2024-09-15 04:09:46 +02:00
COPY . /app
WORKDIR /app
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
2024-12-14 01:24:54 +01:00
RUN apt-get install -y ca-certificates openssl mkvtoolnix sqlite3 ffmpeg
2024-09-15 04:09:46 +02:00
COPY --from=builder /app/target/release/watchdogs /watchdogs
WORKDIR /
CMD ["/watchdogs"]