Simple docker process

This commit is contained in:
Anh Hoang Nguyen 2023-09-13 11:46:03 -04:00
parent bac5b0d34b
commit 69fb5fc916
2 changed files with 15 additions and 0 deletions

3
.dockerignore Normal file
View File

@ -0,0 +1,3 @@
target/
.git
.gitignore

12
Dockerfile Normal file
View 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"]