This commit is contained in:
JMARyA 2024-09-15 04:09:46 +02:00
parent e431d3b745
commit 311b315990
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
7 changed files with 490 additions and 370 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM rust:buster as builder
COPY . /app
WORKDIR /app
RUN cargo build --release
FROM ubuntu
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"]