OSDN Git Service

Dev readme (#1182)
[bytom/bytom.git] / Dockerfile
index fdb33ab..4a092d6 100644 (file)
@@ -1,6 +1,3 @@
-# build the image
-# docker build -t bytom .
-
 # Build Bytom in a stock Go builder container
 FROM golang:1.9-alpine as builder
 
@@ -17,8 +14,3 @@ COPY --from=builder /go/src/github.com/bytom/cmd/bytomd/bytomd /usr/local/bin/
 COPY --from=builder /go/src/github.com/bytom/cmd/bytomcli/bytomcli /usr/local/bin/
 
 EXPOSE 1999 46656 46657 9888
-RUN bytomd init --chain_id testnet
-CMD ["bytomd"]
-
-# sample command
-# docker run -p 9888:9888 bytom:latest bytomd node --web.closed --auth.disable
\ No newline at end of file