mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
minor docker file update
This commit is contained in:
parent
6e16edd0b2
commit
fd475f4777
@ -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"]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user