This commit is contained in:
JMARyA 2024-04-10 10:28:28 +02:00
parent 50f9852cc9
commit 5d7afb2304
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 25 additions and 0 deletions

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM rust:buster as builder
COPY . /app
WORKDIR /app
RUN cargo build --release
FROM debian:buster
RUN apt update && apt upgrade -y
COPY --from=builder /app/target/release/mirrord /mirrord
WORKDIR /
CMD ["/mirrord"]