summaryrefslogtreecommitdiffstats
path: root/CLI/rust/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'CLI/rust/Dockerfile')
-rw-r--r--CLI/rust/Dockerfile11
1 files changed, 11 insertions, 0 deletions
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