martin/Dockerfile
2018-11-15 11:52:27 +03:00

13 lines
261 B
Docker
Executable File

FROM ekidd/rust-musl-builder:1.30.1 as builder
ADD . .
RUN sudo chmod -R 0777 *
RUN cargo build --release
FROM alpine:latest
COPY --from=builder \
/home/rust/src/target/x86_64-unknown-linux-musl/release/martin \
/usr/local/bin/
CMD /usr/local/bin/martin