mark/Dockerfile
2023-04-03 13:21:40 +02:00

12 lines
276 B
Docker

FROM golang:1.20.2 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