Skip to content

Commit

Permalink
feat(Dockerfile) use ENTRYPOINT
Browse files Browse the repository at this point in the history
Fixes #258

#258
  • Loading branch information
Brian Tiger Chow committed Nov 5, 2014
1 parent 83716af commit e6ee19e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e6ee19e

Please sign in to comment.