{"action":"created","comment":{"url":"https://api.github.com/repos/dokkur/swanager-website/pulls/comments/113249538","pull_request_review_id":34621358,"id":113249538,"diff_hunk":"@@ -0,0 +1,17 @@\n+FROM node:boron\n+\n+# Create app directory\n+RUN mkdir -p /usr/src/swanager-website\n+WORKDIR /usr/src/swanager-website\n+\n+# Install app dependencies\n+COPY package.json /usr/src/swanager-website/\n+RUN npm install\n+\n+# Bundle app source\n+COPY . /usr/src/swanager-website\n+EXPOSE 5000\n+CMD [ \"npm\", \"start\" ]","path":"Dockerfile","position":14,"original_position":14,"commit_id":"1351015e771913a06c0a97c73623fac8fbffe572","original_commit_id":"1351015e771913a06c0a97c73623fac8fbffe572","user":{"login":"da4nik","id":92557,"avatar_url":"https://avatars3.githubusercontent.com/u/92557?v=3","gravatar_id":"","url":"https://api.github.com/users/da4nik","html_url":"https://github.com/da4nik","followers_url":"https://api.github.com/users/da4nik/followers","following_url":"https://api.github.com/users/da4nik/following{/other_user}","gists_url":"https://api.github.com/users/da4nik/gists{/gist_id}","starred_url":"https://api.github.com/users/da4nik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/da4nik/subscriptions","organizations_url":"https://api.github.com/users/da4nik/orgs","repos_url":"https://api.github.com/users/da4nik/repos","events_url":"https://api.github.com/users/da4nik/events{/privacy}","received_events_url":"https://api.github.com/users/da4nik/received_events","type":"User","site_admin":false},"body":"Если этот контейнер будет использоваться для продакшена, то этот подход плох. Надо будет собирать приложение и заворачивать в контейнер с nginx","created_at":"2017-04-25T16:46:31Z","updated_at":"2017-04-25T16:47:04Z","html_url":"https://github.com/dokkur/swanager-website/pull/3#discussion_r113249538","pull_request_url":"https://api.github.com/repos/dokkur/swanager-website/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/dokkur/swanager-website/pulls/comments/113249538"},"html":{"href":"https://github.com/dokkur/swanager-website/pull/3#discussion_r113249538"},"pull_request":{"href":"https://api.github.com/repos/dokkur/swanager-website/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/dokkur/swanager-website/pulls/3","id":117514029,"html_url":"https://github.com/dokkur/swanager-website/pull/3","diff_url":"https://github.com/dokkur/swanager-website/pull/3.diff","patch_url":"https://github.com/dokkur/swanager-website/pull/3.patch","issue_url":"https://api.github.com/repos/dokkur/swanager-website/issues/3","number":3,"state":"open","locked":false,"title":"docker image","user":{"login":"ZemtsovIgor","id":9623292,"avatar_url":"https://avatars2.githubusercontent.com/u/9623292?v=3","gravatar_id":"","url":"https://api.github.com/users/ZemtsovIgor","html_url":"https://github.com/ZemtsovIgor","followers_url":"https://api.github.com/users/ZemtsovIgor/followers","following_url":"https://api.github.com/users/ZemtsovIgor/following{/other_user}","gists_url":"https://api.github.com/users/ZemtsovIgor/gists{/gist_id}","starred_url":"https://api.github.com/users/ZemtsovIgor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZemtsovIgor/subscriptions","organizations_url":"https://api.github.com/users/ZemtsovIgor/orgs","repos_url":"https://api.github.com/users/ZemtsovIgor/repos","events_url":"https://api.github.com/users/ZemtsovIgor/events{/privacy}","received_events_url":"https://api.github.com/users/ZemtsovIgor/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-25T15:29:19Z","updated_at":"2017-04-25T16:47:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5395d2de1a2ed18c6d227b018b906d7056be6bc6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dokkur/swanager-website/pulls/3/commits","review_comments_url":"https://api.github.com/repos/dokkur/swanager-website/pulls/3/comments","review_comment_url":"https://api.github.com/repos/dokkur/swanager-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dokkur/swanager-website/issues/3/comments","statuses_url":"https://api.github.com/repos/dokkur/swanager-website/statuses/1351015e771913a06c0a97c73623fac8fbffe572","head":{"label":"ZemtsovIgor:dockerimg","ref":"dockerimg","sha":"1351015e771913a06c0a97c73623fac8fbffe572","user":{"login":"ZemtsovIgor","id":9623292,"avatar_url":"https://avatars2.githubusercontent.com/u/9623292?v=3","gravatar_id":"","url":"https://api.github.com/users/ZemtsovIgor","html_url":"https://github.com/ZemtsovIgor","followers_url":"https://api.github.com/users/ZemtsovIgor/followers","following_url":"https://api.github.com/users/ZemtsovIgor/following{/other_user}","gists_url":"https://api.github.com/users/ZemtsovIgor/gists{/gist_id}","starred_url":"https://api.github.com/users/ZemtsovIgor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZemtsovIgor/subscriptions","organizations_url":"https://api.github.com/users/ZemtsovIgor/orgs","repos_url":"https://api.github.com/users/ZemtsovIgor/repos","events_url":"https://api.github.com/users/ZemtsovIgor/events{/privacy}","received_events_url":"https://api.github.com/users/ZemtsovIgor/received_events","type":"User","site_admin":false},"repo":{"id":89369769,"name":"swanager-website","full_name":"ZemtsovIgor/swanager-website","owner":{"login":"ZemtsovIgor","id":9623292,"avatar_url":"https://avatars2.githubusercontent.com/u/9623292?v=3","gravatar_id":"","url":"https://api.github.com/users/ZemtsovIgor","html_url":"https://github.com/ZemtsovIgor","followers_url":"https://api.github.com/users/ZemtsovIgor/followers","following_url":"https://api.github.com/users/ZemtsovIgor/following{/other_user}","gists_url":"https://api.github.com/users/ZemtsovIgor/gists{/gist_id}","starred_url":"https://api.github.com/users/ZemtsovIgor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZemtsovIgor/subscriptions","organizations_url":"https://api.github.com/users/ZemtsovIgor/orgs","repos_url":"https://api.github.com/users/ZemtsovIgor/repos","events_url":"https://api.github.com/users/ZemtsovIgor/events{/privacy}","received_events_url":"https://api.github.com/users/ZemtsovIgor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZemtsovIgor/swanager-website","description":null,"fork":true,"url":"https://api.github.com/repos/ZemtsovIgor/swanager-website","forks_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/forks","keys_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/teams","hooks_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/hooks","issue_events_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/issues/events{/number}","events_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/events","assignees_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/assignees{/user}","branches_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/branches{/branch}","tags_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/tags","blobs_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/statuses/{sha}","languages_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/languages","stargazers_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/stargazers","contributors_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/contributors","subscribers_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/subscribers","subscription_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/subscription","commits_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/contents/{+path}","compare_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/merges","archive_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/downloads","issues_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/issues{/number}","pulls_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/pulls{/number}","milestones_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/milestones{/number}","notifications_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/labels{/name}","releases_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/releases{/id}","deployments_url":"https://api.github.com/repos/ZemtsovIgor/swanager-website/deployments","created_at":"2017-04-25T14:25:03Z","updated_at":"2017-04-25T14:25:04Z","pushed_at":"2017-04-25T14:45:30Z","git_url":"git://github.com/ZemtsovIgor/swanager-website.git","ssh_url":"git@github.com:ZemtsovIgor/swanager-website.git","clone_url":"https://github.com/ZemtsovIgor/swanager-website.git","svn_url":"https://github.com/ZemtsovIgor/swanager-website","homepage":null,"size":408,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"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":"dokkur:master","ref":"master","sha":"c11bf6d6a7e0f307be4ff0d5b3d2494aa1180a75","user":{"login":"dokkur","id":16528799,"avatar_url":"https://avatars3.githubusercontent.com/u/16528799?v=3","gravatar_id":"","url":"https://api.github.com/users/dokkur","html_url":"https://github.com/dokkur","followers_url":"https://api.github.com/users/dokkur/followers","following_url":"https://api.github.com/users/dokkur/following{/other_user}","gists_url":"https://api.github.com/users/dokkur/gists{/gist_id}","starred_url":"https://api.github.com/users/dokkur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dokkur/subscriptions","organizations_url":"https://api.github.com/users/dokkur/orgs","repos_url":"https://api.github.com/users/dokkur/repos","events_url":"https://api.github.com/users/dokkur/events{/privacy}","received_events_url":"https://api.github.com/users/dokkur/received_events","type":"Organization","site_admin":false},"repo":{"id":82502407,"name":"swanager-website","full_name":"dokkur/swanager-website","owner":{"login":"dokkur","id":16528799,"avatar_url":"https://avatars3.githubusercontent.com/u/16528799?v=3","gravatar_id":"","url":"https://api.github.com/users/dokkur","html_url":"https://github.com/dokkur","followers_url":"https://api.github.com/users/dokkur/followers","following_url":"https://api.github.com/users/dokkur/following{/other_user}","gists_url":"https://api.github.com/users/dokkur/gists{/gist_id}","starred_url":"https://api.github.com/users/dokkur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dokkur/subscriptions","organizations_url":"https://api.github.com/users/dokkur/orgs","repos_url":"https://api.github.com/users/dokkur/repos","events_url":"https://api.github.com/users/dokkur/events{/privacy}","received_events_url":"https://api.github.com/users/dokkur/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dokkur/swanager-website","description":null,"fork":false,"url":"https://api.github.com/repos/dokkur/swanager-website","forks_url":"https://api.github.com/repos/dokkur/swanager-website/forks","keys_url":"https://api.github.com/repos/dokkur/swanager-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dokkur/swanager-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dokkur/swanager-website/teams","hooks_url":"https://api.github.com/repos/dokkur/swanager-website/hooks","issue_events_url":"https://api.github.com/repos/dokkur/swanager-website/issues/events{/number}","events_url":"https://api.github.com/repos/dokkur/swanager-website/events","assignees_url":"https://api.github.com/repos/dokkur/swanager-website/assignees{/user}","branches_url":"https://api.github.com/repos/dokkur/swanager-website/branches{/branch}","tags_url":"https://api.github.com/repos/dokkur/swanager-website/tags","blobs_url":"https://api.github.com/repos/dokkur/swanager-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dokkur/swanager-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dokkur/swanager-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/dokkur/swanager-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dokkur/swanager-website/statuses/{sha}","languages_url":"https://api.github.com/repos/dokkur/swanager-website/languages","stargazers_url":"https://api.github.com/repos/dokkur/swanager-website/stargazers","contributors_url":"https://api.github.com/repos/dokkur/swanager-website/contributors","subscribers_url":"https://api.github.com/repos/dokkur/swanager-website/subscribers","subscription_url":"https://api.github.com/repos/dokkur/swanager-website/subscription","commits_url":"https://api.github.com/repos/dokkur/swanager-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/dokkur/swanager-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/dokkur/swanager-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/dokkur/swanager-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/dokkur/swanager-website/contents/{+path}","compare_url":"https://api.github.com/repos/dokkur/swanager-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dokkur/swanager-website/merges","archive_url":"https://api.github.com/repos/dokkur/swanager-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dokkur/swanager-website/downloads","issues_url":"https://api.github.com/repos/dokkur/swanager-website/issues{/number}","pulls_url":"https://api.github.com/repos/dokkur/swanager-website/pulls{/number}","milestones_url":"https://api.github.com/repos/dokkur/swanager-website/milestones{/number}","notifications_url":"https://api.github.com/repos/dokkur/swanager-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dokkur/swanager-website/labels{/name}","releases_url":"https://api.github.com/repos/dokkur/swanager-website/releases{/id}","deployments_url":"https://api.github.com/repos/dokkur/swanager-website/deployments","created_at":"2017-02-20T01:05:26Z","updated_at":"2017-02-20T18:57:21Z","pushed_at":"2017-04-25T15:29:20Z","git_url":"git://github.com/dokkur/swanager-website.git","ssh_url":"git@github.com:dokkur/swanager-website.git","clone_url":"https://github.com/dokkur/swanager-website.git","svn_url":"https://github.com/dokkur/swanager-website","homepage":null,"size":423,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dokkur/swanager-website/pulls/3"},"html":{"href":"https://github.com/dokkur/swanager-website/pull/3"},"issue":{"href":"https://api.github.com/repos/dokkur/swanager-website/issues/3"},"comments":{"href":"https://api.github.com/repos/dokkur/swanager-website/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/dokkur/swanager-website/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/dokkur/swanager-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dokkur/swanager-website/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/dokkur/swanager-website/statuses/1351015e771913a06c0a97c73623fac8fbffe572"}}}}
{"actor":{"display_login":"da4nik"}}