added Dockerfile

This commit is contained in:
Naim A 2018-10-23 00:44:49 +03:00
parent 04643c60a0
commit e780d6f6fb
No known key found for this signature in database
GPG key ID: FD7948915D9EF8B9

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