From 30e2930dfbb2d8beb51fef290618fac69680149e Mon Sep 17 00:00:00 2001 From: Ahmed AbdelHalim Date: Sat, 1 Jul 2023 22:29:10 +0200 Subject: Add docker image to run rust without installing --- CLI/rust/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 CLI/rust/Dockerfile (limited to 'CLI/rust/Dockerfile') diff --git a/CLI/rust/Dockerfile b/CLI/rust/Dockerfile new file mode 100644 index 0000000..271cef6 --- /dev/null +++ b/CLI/rust/Dockerfile @@ -0,0 +1,11 @@ +From rust:1.70 + +RUN rustup install nightly +RUN rustup component add rustfmt + +WORKDIR /app +COPY . . +RUN cargo build +CMD cargo run -- + +VOLUME /app -- cgit v1.2.3