minor docker file update

This commit is contained in:
rhuairahrighairigh 2018-08-15 15:09:35 -04:00
parent 6e16edd0b2
commit fd475f4777
2 changed files with 12 additions and 11 deletions

View File

@ -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"]

View File

@ -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