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.
|
# 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"]
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user