From d90e1f1d53aed922d87c7c72d04925448a777644 Mon Sep 17 00:00:00 2001 From: core Date: Fri, 23 Jun 2023 19:13:16 -0400 Subject: [PATCH] docker --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8a4b58f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM rust:latest + +COPY trifid-pki /trifid-pki +COPY dnapi-rs /dnapi-rs +COPY trifid-api /trifid-api + +RUN cd /trifid-api && cargo build --release && cp target/release/trifid-api /bin/trifid-api + +CMD ["/bin/trifid-api"]