{"action":"created","comment":{"url":"https://api.github.com/repos/resin-io/docs/pulls/comments/70344403","id":70344403,"diff_hunk":"@@ -0,0 +1,18 @@\n+FROM library/node:6.3\n+\n+WORKDIR /src\n+\n+COPY package.json .\n+\n+RUN npm install\n+\n+COPY . .\n+\n+RUN node_modules/bower/bin/bower --allow-root install \\\n+\t&& tools/prepare.sh\n+\n+EXPOSE 3000\n+\n+ENTRYPOINT [\"/usr/local/bin/npm\"]","path":"Dockerfile","position":16,"original_position":16,"commit_id":"01f5a3a6a5f981b0063e494726cc150a1bb289d1","original_commit_id":"01f5a3a6a5f981b0063e494726cc150a1bb289d1","user":{"login":"emirotin","id":525832,"avatar_url":"https://avatars.githubusercontent.com/u/525832?v=3","gravatar_id":"","url":"https://api.github.com/users/emirotin","html_url":"https://github.com/emirotin","followers_url":"https://api.github.com/users/emirotin/followers","following_url":"https://api.github.com/users/emirotin/following{/other_user}","gists_url":"https://api.github.com/users/emirotin/gists{/gist_id}","starred_url":"https://api.github.com/users/emirotin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emirotin/subscriptions","organizations_url":"https://api.github.com/users/emirotin/orgs","repos_url":"https://api.github.com/users/emirotin/repos","events_url":"https://api.github.com/users/emirotin/events{/privacy}","received_events_url":"https://api.github.com/users/emirotin/received_events","type":"User","site_admin":false},"body":"Is there a reason to use both entrypoint and the cmd?","created_at":"2016-07-11T21:53:02Z","updated_at":"2016-07-11T21:53:02Z","html_url":"https://github.com/resin-io/docs/pull/251#discussion_r70344403","pull_request_url":"https://api.github.com/repos/resin-io/docs/pulls/251","_links":{"self":{"href":"https://api.github.com/repos/resin-io/docs/pulls/comments/70344403"},"html":{"href":"https://github.com/resin-io/docs/pull/251#discussion_r70344403"},"pull_request":{"href":"https://api.github.com/repos/resin-io/docs/pulls/251"}}},"pull_request":{"url":"https://api.github.com/repos/resin-io/docs/pulls/251","id":77023443,"html_url":"https://github.com/resin-io/docs/pull/251","diff_url":"https://github.com/resin-io/docs/pull/251.diff","patch_url":"https://github.com/resin-io/docs/pull/251.patch","issue_url":"https://api.github.com/repos/resin-io/docs/issues/251","number":251,"state":"open","locked":false,"title":"feat(docker): Add Dockerfile","user":{"login":"brownjohnf","id":1001049,"avatar_url":"https://avatars.githubusercontent.com/u/1001049?v=3","gravatar_id":"","url":"https://api.github.com/users/brownjohnf","html_url":"https://github.com/brownjohnf","followers_url":"https://api.github.com/users/brownjohnf/followers","following_url":"https://api.github.com/users/brownjohnf/following{/other_user}","gists_url":"https://api.github.com/users/brownjohnf/gists{/gist_id}","starred_url":"https://api.github.com/users/brownjohnf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brownjohnf/subscriptions","organizations_url":"https://api.github.com/users/brownjohnf/orgs","repos_url":"https://api.github.com/users/brownjohnf/repos","events_url":"https://api.github.com/users/brownjohnf/events{/privacy}","received_events_url":"https://api.github.com/users/brownjohnf/received_events","type":"User","site_admin":false},"body":"@emirotin, As a step towards hosting this with Docker, I've created a Dockerfile. Can you take a look and see how it looks? Closes #250.","created_at":"2016-07-11T21:07:26Z","updated_at":"2016-07-11T21:53:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c05d8c95f04b6883fc2505ce55d56bb4fb63e00b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/resin-io/docs/pulls/251/commits","review_comments_url":"https://api.github.com/repos/resin-io/docs/pulls/251/comments","review_comment_url":"https://api.github.com/repos/resin-io/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/resin-io/docs/issues/251/comments","statuses_url":"https://api.github.com/repos/resin-io/docs/statuses/01f5a3a6a5f981b0063e494726cc150a1bb289d1","head":{"label":"brownjohnf:dockerize","ref":"dockerize","sha":"01f5a3a6a5f981b0063e494726cc150a1bb289d1","user":{"login":"brownjohnf","id":1001049,"avatar_url":"https://avatars.githubusercontent.com/u/1001049?v=3","gravatar_id":"","url":"https://api.github.com/users/brownjohnf","html_url":"https://github.com/brownjohnf","followers_url":"https://api.github.com/users/brownjohnf/followers","following_url":"https://api.github.com/users/brownjohnf/following{/other_user}","gists_url":"https://api.github.com/users/brownjohnf/gists{/gist_id}","starred_url":"https://api.github.com/users/brownjohnf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brownjohnf/subscriptions","organizations_url":"https://api.github.com/users/brownjohnf/orgs","repos_url":"https://api.github.com/users/brownjohnf/repos","events_url":"https://api.github.com/users/brownjohnf/events{/privacy}","received_events_url":"https://api.github.com/users/brownjohnf/received_events","type":"User","site_admin":false},"repo":{"id":63098517,"name":"docs","full_name":"brownjohnf/docs","owner":{"login":"brownjohnf","id":1001049,"avatar_url":"https://avatars.githubusercontent.com/u/1001049?v=3","gravatar_id":"","url":"https://api.github.com/users/brownjohnf","html_url":"https://github.com/brownjohnf","followers_url":"https://api.github.com/users/brownjohnf/followers","following_url":"https://api.github.com/users/brownjohnf/following{/other_user}","gists_url":"https://api.github.com/users/brownjohnf/gists{/gist_id}","starred_url":"https://api.github.com/users/brownjohnf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brownjohnf/subscriptions","organizations_url":"https://api.github.com/users/brownjohnf/orgs","repos_url":"https://api.github.com/users/brownjohnf/repos","events_url":"https://api.github.com/users/brownjohnf/events{/privacy}","received_events_url":"https://api.github.com/users/brownjohnf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brownjohnf/docs","description":"Documentation for the resin.io platform.","fork":true,"url":"https://api.github.com/repos/brownjohnf/docs","forks_url":"https://api.github.com/repos/brownjohnf/docs/forks","keys_url":"https://api.github.com/repos/brownjohnf/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brownjohnf/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brownjohnf/docs/teams","hooks_url":"https://api.github.com/repos/brownjohnf/docs/hooks","issue_events_url":"https://api.github.com/repos/brownjohnf/docs/issues/events{/number}","events_url":"https://api.github.com/repos/brownjohnf/docs/events","assignees_url":"https://api.github.com/repos/brownjohnf/docs/assignees{/user}","branches_url":"https://api.github.com/repos/brownjohnf/docs/branches{/branch}","tags_url":"https://api.github.com/repos/brownjohnf/docs/tags","blobs_url":"https://api.github.com/repos/brownjohnf/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brownjohnf/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brownjohnf/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/brownjohnf/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brownjohnf/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/brownjohnf/docs/languages","stargazers_url":"https://api.github.com/repos/brownjohnf/docs/stargazers","contributors_url":"https://api.github.com/repos/brownjohnf/docs/contributors","subscribers_url":"https://api.github.com/repos/brownjohnf/docs/subscribers","subscription_url":"https://api.github.com/repos/brownjohnf/docs/subscription","commits_url":"https://api.github.com/repos/brownjohnf/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/brownjohnf/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/brownjohnf/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/brownjohnf/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/brownjohnf/docs/contents/{+path}","compare_url":"https://api.github.com/repos/brownjohnf/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brownjohnf/docs/merges","archive_url":"https://api.github.com/repos/brownjohnf/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brownjohnf/docs/downloads","issues_url":"https://api.github.com/repos/brownjohnf/docs/issues{/number}","pulls_url":"https://api.github.com/repos/brownjohnf/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/brownjohnf/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/brownjohnf/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brownjohnf/docs/labels{/name}","releases_url":"https://api.github.com/repos/brownjohnf/docs/releases{/id}","deployments_url":"https://api.github.com/repos/brownjohnf/docs/deployments","created_at":"2016-07-11T20:07:55Z","updated_at":"2016-07-11T20:07:57Z","pushed_at":"2016-07-11T21:07:19Z","git_url":"git://github.com/brownjohnf/docs.git","ssh_url":"git@github.com:brownjohnf/docs.git","clone_url":"https://github.com/brownjohnf/docs.git","svn_url":"https://github.com/brownjohnf/docs","homepage":null,"size":121230,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"resin-io:master","ref":"master","sha":"a71081a1ee099cc555d6fb73c3d61cc0aeb871d1","user":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"repo":{"id":21133508,"name":"docs","full_name":"resin-io/docs","owner":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io/docs","description":"Documentation for the resin.io platform.","fork":false,"url":"https://api.github.com/repos/resin-io/docs","forks_url":"https://api.github.com/repos/resin-io/docs/forks","keys_url":"https://api.github.com/repos/resin-io/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io/docs/teams","hooks_url":"https://api.github.com/repos/resin-io/docs/hooks","issue_events_url":"https://api.github.com/repos/resin-io/docs/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io/docs/events","assignees_url":"https://api.github.com/repos/resin-io/docs/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io/docs/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io/docs/tags","blobs_url":"https://api.github.com/repos/resin-io/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io/docs/languages","stargazers_url":"https://api.github.com/repos/resin-io/docs/stargazers","contributors_url":"https://api.github.com/repos/resin-io/docs/contributors","subscribers_url":"https://api.github.com/repos/resin-io/docs/subscribers","subscription_url":"https://api.github.com/repos/resin-io/docs/subscription","commits_url":"https://api.github.com/repos/resin-io/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io/docs/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io/docs/merges","archive_url":"https://api.github.com/repos/resin-io/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io/docs/downloads","issues_url":"https://api.github.com/repos/resin-io/docs/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io/docs/labels{/name}","releases_url":"https://api.github.com/repos/resin-io/docs/releases{/id}","deployments_url":"https://api.github.com/repos/resin-io/docs/deployments","created_at":"2014-06-23T16:26:36Z","updated_at":"2016-06-30T08:35:42Z","pushed_at":"2016-07-11T21:07:26Z","git_url":"git://github.com/resin-io/docs.git","ssh_url":"git@github.com:resin-io/docs.git","clone_url":"https://github.com/resin-io/docs.git","svn_url":"https://github.com/resin-io/docs","homepage":null,"size":121230,"stargazers_count":12,"watchers_count":12,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":39,"forks":31,"open_issues":39,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/resin-io/docs/pulls/251"},"html":{"href":"https://github.com/resin-io/docs/pull/251"},"issue":{"href":"https://api.github.com/repos/resin-io/docs/issues/251"},"comments":{"href":"https://api.github.com/repos/resin-io/docs/issues/251/comments"},"review_comments":{"href":"https://api.github.com/repos/resin-io/docs/pulls/251/comments"},"review_comment":{"href":"https://api.github.com/repos/resin-io/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/resin-io/docs/pulls/251/commits"},"statuses":{"href":"https://api.github.com/repos/resin-io/docs/statuses/01f5a3a6a5f981b0063e494726cc150a1bb289d1"}}}}
{"actor":{"display_login":"emirotin"}}