node-labeler/Dockerfile
okozachenko fe023d0fd2 Add retry mechanism against api connection fail
Change-Id: I19eb834b1b41165bab922d84983a3ad8e29b856d
2020-07-04 00:35:24 +03:00

8 lines
209 B
Docker

FROM golang:1.13 AS builder
WORKDIR /go/src/app
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build
FROM scratch
COPY --from=builder /go/src/app/node-labeler /node-labeler
ENTRYPOINT ["/node-labeler"]