Separation of concerns for docker files and building (#41)

* Separation of concerns for docker files and building

* Separated out readme context
This commit is contained in:
Michael
2021-02-10 18:06:42 -07:00
committed by GitHub
parent 60d77d22c6
commit cb31cd0675
11 changed files with 240 additions and 212 deletions

11
Dockerfile.odin Normal file
View File

@@ -0,0 +1,11 @@
# ------------------ #
# -- Odin Builder -- #
# ------------------ #
FROM rust:latest as RustBuilder
WORKDIR /data/odin
COPY . .
RUN cargo install --path . \
&& cargo build --release