12 lines
199 B
Docker
12 lines
199 B
Docker
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 . |