added Dockerfile
This commit is contained in:
parent
04643c60a0
commit
e780d6f6fb
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
FROM rust:latest
|
||||
COPY . /usr/src/udpt
|
||||
WORKDIR /usr/src/udpt
|
||||
|
||||
RUN cargo build --release -j4
|
||||
|
||||
CMD ["target/release/udpt-rs", "-c", "/usr/src/udpt/udpt.toml"]
|
Loading…
Reference in a new issue