Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
e6ee19ed
Commit
e6ee19ed
authored
10 years ago
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(Dockerfile) use ENTRYPOINT
Fixes #258
https://github.com/jbenet/go-ipfs/issues/258
parent
83716af8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Dockerfile
Dockerfile
+4
-2
No files found.
Dockerfile
View file @
e6ee19ed
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment