{"action":"closed","issue":{"url":"https://api.github.com/repos/cayleygraph/cayley/issues/357","repository_url":"https://api.github.com/repos/cayleygraph/cayley","labels_url":"https://api.github.com/repos/cayleygraph/cayley/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/cayleygraph/cayley/issues/357/comments","events_url":"https://api.github.com/repos/cayleygraph/cayley/issues/357/events","html_url":"https://github.com/cayleygraph/cayley/issues/357","id":120686414,"number":357,"title":"Dockerfile not work","user":{"login":"quchunguang","id":383218,"avatar_url":"https://avatars.githubusercontent.com/u/383218?v=3","gravatar_id":"","url":"https://api.github.com/users/quchunguang","html_url":"https://github.com/quchunguang","followers_url":"https://api.github.com/users/quchunguang/followers","following_url":"https://api.github.com/users/quchunguang/following{/other_user}","gists_url":"https://api.github.com/users/quchunguang/gists{/gist_id}","starred_url":"https://api.github.com/users/quchunguang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quchunguang/subscriptions","organizations_url":"https://api.github.com/users/quchunguang/orgs","repos_url":"https://api.github.com/users/quchunguang/repos","events_url":"https://api.github.com/users/quchunguang/events{/privacy}","received_events_url":"https://api.github.com/users/quchunguang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cayleygraph/cayley/labels/state:%20PR","name":"state: PR","color":"0e8a16"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-12-07T02:39:45Z","updated_at":"2016-07-09T11:12:41Z","closed_at":"2016-07-09T11:12:41Z","body":"1. By change `RUN go install -v github.com/google/cayley` to `RUN go install -v github.com/google/cayley/cmd/cayley`, i can `sudo docker run ...` now.\r\n\r\n2. It seems the default port of http exposed \":64321\" in Dockerfile are different with the command `cayley` \"64210\", i changed it in Dockerfile, `EXPOSE 64210`.\r\n\r\n3. Unknown issue. Still, I can not get web interface in \"127.0.0.1:64210\". Does the command 'cayley' depend on any file in the repos path? If so, may be the `RUN` command (reference 1.) need to changed to `RUN go build /go/src/github.com/google/cmd/cayley`, and change the command `CMD` to `CMD [\"/go/src/github.com/google/cayley/cayley\", \"http\", \"-config\", \"/data/cayley.cfg\", \"-init\"]`.\r\n\r\nSorry, i have no mush time to inspect the source, all of above are based on guess.\r\n\r\n```bash\r\ncat data/cayley.cfg\r\n{\r\n    \"database\": \"leveldb\",\r\n    \"db_path\": \"/data/snsrobot\",\r\n    \"read_only\": false\r\n}\r\n```"}}
{"actor":{"display_login":"dennwc"}}