rename binary name

This commit is contained in:
viktorbarzin 2021-03-16 19:30:40 +00:00
parent 899805ddac
commit be6ec8ce70

View file

@ -2,7 +2,7 @@ FROM golang:alpine
RUN mkdir /app RUN mkdir /app
ADD . /app/ ADD . /app/
WORKDIR /app WORKDIR /app
RUN go build -o main . RUN go build -o infra_cli .
RUN adduser -S -D -H -h /app appuser RUN adduser -S -D -H -h /app appuser
USER appuser USER appuser
CMD ["./main"] CMD ["./main"]