RUN apk add --no-cache make git
ADD . /go/src/github.com/bytom
-RUN cd /go/src/github.com/bytom && make install && cd ./cmd/bytomd && go build && cd ../bytomcli && go build
+RUN cd /go/src/github.com/bytom && make bytomd && make bytomcli
# Pull Bytom into a second stage deploy alpine container
FROM alpine:latest