FROM golang:alpine AS builder WORKDIR /app COPY . . RUN go build . FROM argoproj/argocd:latest WORKDIR /app COPY conf/docker_ocmonitord_conf.json /app/conf/ COPY --from=builder /app/oc-monitord .