mirror of
https://github.com/mbround18/valheim-docker.git
synced 2021-10-22 21:53:54 +03:00
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:
11
Dockerfile.odin
Normal file
11
Dockerfile.odin
Normal file
@@ -0,0 +1,11 @@
|
||||
# ------------------ #
|
||||
# -- Odin Builder -- #
|
||||
# ------------------ #
|
||||
FROM rust:latest as RustBuilder
|
||||
|
||||
WORKDIR /data/odin
|
||||
COPY . .
|
||||
|
||||
RUN cargo install --path . \
|
||||
&& cargo build --release
|
||||
|
||||
Reference in New Issue
Block a user