diff --git a/Dockerfile b/Dockerfile index b36cdfc9..967b85c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ RUN go build ./cmd/kvd && go build ./cmd/kvcli # Copy app binary over to small container. # Using alpine instad of scratch to aid in debugging and avoid complicated compile +# note the home directory for alpine is /root/ FROM alpine COPY --from=builder /go/src/github.com/kava-labs/kava/kvd /go/src/github.com/kava-labs/kava/kvcli /usr/bin/ CMD ["kvd", "start"] diff --git a/docker-compose.yml b/docker-compose.yml index a0979c1f..65834686 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,14 +8,14 @@ services: volumes: - ~/.kvd:/root/.kvd - ~/.kvcli:/root/.kvcli - # Avoid printing out all the tendermint logs - logging: - driver: "none" - lcd: - image: kava/kava - command: "kvcli rest-server --chain-id test-kava --node kvd:46657 --laddr tcp://0.0.0.0:1317" - ports: - - 1317:1317 - volumes: - - ~/.kvd:/root/.kvd - - ~/.kvcli:/root/.kvcli + # # Avoid printing out all the tendermint logs + # logging: + # driver: "none" + # lcd: + # image: kava/kava + # command: "kvcli rest-server --chain-id test-kava --node kvd:46657 --laddr tcp://0.0.0.0:1317" + # ports: + # - 1317:1317 + # volumes: + # - ~/.kvd:/root/.kvd + # - ~/.kvcli:/root/.kvcli