From 6e892209e7c358909be5c85283975c89595264e9 Mon Sep 17 00:00:00 2001 From: rwesolowski Date: Fri, 3 Jan 2020 23:10:30 +0100 Subject: [PATCH] fixing Dockerfile --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d4a2b99..5340740 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ COPY go.mod . COPY go.sum . RUN go mod download -COPY k8s/reputator . +COPY . . RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make build FROM alpine:latest @@ -17,6 +17,5 @@ COPY --from=builder /app/bin . COPY --from=builder /app/resources ./resources/ ENV PORT 8080 -ENV DEBUG 1 -CMD ["./reputator"] +CMD ["./threatbite"]