martin/Dockerfile
Stepan Kuzmin c1c59e158d
feat: add ssl/tls support #63 (#90)
* feat: add ssl/tls support #63

* feat: add danger-accept-invalid-certs option

* ci: switch to ekidd/rust-musl-builder:stable

* ci: enable docker/build-push-action
2020-06-02 09:49:21 +03:00

15 lines
274 B
Docker
Executable File

FROM ekidd/rust-musl-builder:stable 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/
EXPOSE 3000
CMD /usr/local/bin/martin