FROM golang:alpine AS builder WORKDIR /app COPY . . RUN go build . RUN ls /app FROM scratch WORKDIR /app COPY --from=builder /app/oc-monitord .