mark/Dockerfile

12 lines
276 B
Docker
Raw Normal View History

FROM golang:1.19.6 as builder
2020-01-06 11:33:19 +03:00
ENV GOPATH="/go"
WORKDIR /go/src/github.com/kovetskiy/mark
2019-03-26 14:42:26 +03:00
COPY / .
RUN make get \
&& make build
2019-03-26 14:42:26 +03:00
FROM alpine:3.17
RUN apk --no-cache add ca-certificates bash sed git
COPY --from=builder /go/src/github.com/kovetskiy/mark/mark /bin/
2019-03-26 14:55:38 +03:00
WORKDIR /docs