mark/Dockerfile
2020-01-06 11:33:19 +03:00

14 lines
275 B
Docker

FROM golang:latest
ENV GOPATH="/go"
WORKDIR /go/src/github.com/kovetskiy/mark
COPY / .
RUN make get
RUN make build
FROM alpine:latest
RUN apk --no-cache add ca-certificates bash
COPY --from=0 /go/src/mark/mark /bin/
RUN mkdir -p /docs
WORKDIR /docs
ENTRYPOINT ["/bin/mark"]