diff options
| author | Ahmed AbdelHalim <[email protected]> | 2023-07-01 22:29:10 +0200 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2023-07-01 22:29:10 +0200 |
| commit | 30e2930dfbb2d8beb51fef290618fac69680149e (patch) | |
| tree | 735de8d791c220a08ac3ea649faff9194c183e6e /CLI/rust/Dockerfile | |
| parent | cdd750c42d67729fe8c62d15de34df4d7724cca7 (diff) | |
Add docker image to run rust without installing
Diffstat (limited to 'CLI/rust/Dockerfile')
| -rw-r--r-- | CLI/rust/Dockerfile | 11 |
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 |
