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. # Copy app binary over to small container.
# Using alpine instad of scratch to aid in debugging and avoid complicated compile # Using alpine instad of scratch to aid in debugging and avoid complicated compile
# note the home directory for alpine is /root/
FROM alpine FROM alpine
COPY --from=builder /go/src/github.com/kava-labs/kava/kvd /go/src/github.com/kava-labs/kava/kvcli /usr/bin/ COPY --from=builder /go/src/github.com/kava-labs/kava/kvd /go/src/github.com/kava-labs/kava/kvcli /usr/bin/
CMD ["kvd", "start"] CMD ["kvd", "start"]

View File

@ -8,14 +8,14 @@ services:
volumes: volumes:
- ~/.kvd:/root/.kvd - ~/.kvd:/root/.kvd
- ~/.kvcli:/root/.kvcli - ~/.kvcli:/root/.kvcli
# Avoid printing out all the tendermint logs # # Avoid printing out all the tendermint logs
logging: # logging:
driver: "none" # driver: "none"
lcd: # lcd:
image: kava/kava # image: kava/kava
command: "kvcli rest-server --chain-id test-kava --node kvd:46657 --laddr tcp://0.0.0.0:1317" # command: "kvcli rest-server --chain-id test-kava --node kvd:46657 --laddr tcp://0.0.0.0:1317"
ports: # ports:
- 1317:1317 # - 1317:1317
volumes: # volumes:
- ~/.kvd:/root/.kvd # - ~/.kvd:/root/.kvd
- ~/.kvcli:/root/.kvcli # - ~/.kvcli:/root/.kvcli