Simple docker process
This commit is contained in:
parent
bac5b0d34b
commit
69fb5fc916
3
.dockerignore
Normal file
3
.dockerignore
Normal file
|
@ -0,0 +1,3 @@
|
|||
target/
|
||||
.git
|
||||
.gitignore
|
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
FROM rust:1-buster
|
||||
|
||||
WORKDIR /
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN cargo install --path .
|
||||
|
||||
RUN cargo build && \
|
||||
cargo run >> ./run.log
|
||||
|
||||
CMD ["cat", "run.log"]
|
Loading…
Reference in New Issue
Block a user