Commit e6ee19ed authored by Brian Tiger Chow's avatar Brian Tiger Chow

feat(Dockerfile) use ENTRYPOINT

Fixes #258

https://github.com/jbenet/go-ipfs/issues/258
parent 83716af8
......@@ -6,7 +6,9 @@ RUN cd /go/src/github.com/jbenet/go-ipfs/cmd/ipfs && go install
EXPOSE 4001
CMD ["ipfs", "run"]
ENTRYPOINT ["ipfs"]
CMD ["run"]
# build: docker build -t go-ipfs .
# run: docker run -p 4001:4001 -e "IPFS_LOGGING=debug" go-ipfs:latest
# run: docker run -p 4001:4001 -e "IPFS_LOGGING=debug" go-ipfs:latest run
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment