work
This commit is contained in:
parent
e431d3b745
commit
311b315990
7 changed files with 490 additions and 370 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue