mark/Dockerfile
2023-02-21 14:46:42 +01:00

12 lines
276 B
Docker

FROM golang:1.19.6 as builder
ENV GOPATH="/go"
WORKDIR /go/src/github.com/kovetskiy/mark
COPY / .
RUN make get \
&& make build
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/
WORKDIR /docs