martin/Dockerfile

13 lines
261 B
Docker
Raw Normal View History

2018-06-26 15:28:45 +03:00
FROM ekidd/rust-musl-builder:1.27.0 as builder
2017-10-09 14:29:03 +03:00
ADD . .
RUN sudo chmod -R 0777 *
RUN cargo build --release
FROM alpine:latest
COPY --from=builder \
2018-01-16 15:55:05 +03:00
/home/rust/src/target/x86_64-unknown-linux-musl/release/martin \
2017-10-09 14:29:03 +03:00
/usr/local/bin/
2018-01-19 14:06:01 +03:00
2018-01-16 15:55:05 +03:00
CMD /usr/local/bin/martin