coverage/Dockerfile

10 lines
175 B
Docker

2021-03-30 15:17:14 +07:00
FROM golang:1.16 AS build
WORKDIR /root/
COPY . .
RUN go build -o coverage ./cmd/ci
2021-03-30 15:17:14 +07:00
FROM golang:1.16
WORKDIR /root/
COPY --from=build /root/coverage .
CMD ["/root/coverage"]