From be6ec8ce70953fefaad286a0bc506ca512b4ce3b Mon Sep 17 00:00:00 2001 From: viktorbarzin Date: Tue, 16 Mar 2021 19:30:40 +0000 Subject: [PATCH] rename binary name --- cli/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/Dockerfile b/cli/Dockerfile index 1df845bc..838f5440 100644 --- a/cli/Dockerfile +++ b/cli/Dockerfile @@ -2,7 +2,7 @@ FROM golang:alpine RUN mkdir /app ADD . /app/ WORKDIR /app -RUN go build -o main . +RUN go build -o infra_cli . RUN adduser -S -D -H -h /app appuser USER appuser CMD ["./main"]