Created
July 16, 2018 09:40
-
-
Save webseo-onilne/882013b6f197f216ee1a0ad80b391e0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\XPS-User\Documents\mtg2> docker-compose up | |
Creating network "mtg2_default" with the default driver | |
Building app | |
Step 1/11 : FROM nginx:alpine | |
alpine: Pulling from library/nginx | |
911c6d0c7995: Pull complete | |
f0ee8b734032: Pull complete | |
f8840ac64af5: Pull complete | |
9f8c19504ab0: Pull complete | |
Digest: sha256:56a9367b64eaef37894842a6f7a19a0ef8e7bd5de964aa844a70b3e2d758033c | |
Status: Downloaded newer image for nginx:alpine | |
---> 920e5c5c8bed | |
Step 2/11 : COPY mgt-dash/nginx.conf /etc/nginx/nginx.conf | |
---> 5cdfb079473a | |
Step 3/11 : WORKDIR /usr/share/nginx/html | |
Removing intermediate container 80346d59fed5 | |
---> 5df5f4bc732e | |
Step 4/11 : COPY mgt-dash/dist/mtg-dash . | |
---> 677760af651c | |
Step 5/11 : FROM node:8 | |
8: Pulling from library/node | |
1c7fe136a31e: Pull complete | |
ece825d3308b: Pull complete | |
06854774e2f3: Pull complete | |
f0db43b9b8da: Pull complete | |
db2c23bb4fa1: Pull complete | |
74257eedcd2a: Pull complete | |
598e1e0d8587: Pull complete | |
0dd150530692: Pull complete | |
Digest: sha256:8be12ed3d805ec6e9847d9f09824d8ba80c43986efea5a3e02903748faa19115 | |
Status: Downloaded newer image for node:8 | |
---> c5e9a81034a9 | |
Step 6/11 : WORKDIR /usr/src/app/release | |
Removing intermediate container fb140819cbba | |
---> 13fc69620a3c | |
Step 7/11 : COPY server/package*.json ./ | |
---> f1336220b351 | |
Step 8/11 : RUN npm install | |
---> Running in 5b84904fe09e | |
npm WARN notice [SECURITY] minimatch has the following vulnerability: 1 high. Go here for more details: https://nodesecurity.io/advisories?search=minimatch&version=0.2.14 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info. | |
npm WARN notice [SECURITY] minimatch has the following vulnerability: 1 high. Go here for more details: https://nodesecurity.io/advisories?search=minimatch&version=2.0.10 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info. | |
npm WARN notice [SECURITY] lodash has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=lodash&version=1.0.2 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info. | |
npm WARN graphql-server@1.0.0 No description | |
npm WARN graphql-server@1.0.0 No repository field. | |
added 449 packages in 17.671s | |
Removing intermediate container 5b84904fe09e | |
---> 7e55a3e0f29f | |
Step 9/11 : COPY . . | |
---> 02bc6c9d5074 | |
Step 10/11 : EXPOSE 4000 | |
---> Running in 89fc43c001e8 | |
Removing intermediate container 89fc43c001e8 | |
---> ba18723a0168 | |
Step 11/11 : CMD [ "npm", "start" ] | |
---> Running in 91f0fb9c1a49 | |
Removing intermediate container 91f0fb9c1a49 | |
---> a7c4d1b650c5 | |
Successfully built a7c4d1b650c5 | |
Successfully tagged mtg-dash:latest | |
WARNING: Image for service app was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`. | |
Building node | |
Step 1/11 : FROM nginx:alpine | |
---> 920e5c5c8bed | |
Step 2/11 : COPY mgt-dash/nginx.conf /etc/nginx/nginx.conf | |
---> Using cache | |
---> 5cdfb079473a | |
Step 3/11 : WORKDIR /usr/share/nginx/html | |
---> Using cache | |
---> 5df5f4bc732e | |
Step 4/11 : COPY mgt-dash/dist/mtg-dash . | |
---> Using cache | |
---> 677760af651c | |
Step 5/11 : FROM node:8 | |
---> c5e9a81034a9 | |
Step 6/11 : WORKDIR /usr/src/app/release | |
---> Using cache | |
---> 13fc69620a3c | |
Step 7/11 : COPY server/package*.json ./ | |
---> Using cache | |
---> f1336220b351 | |
Step 8/11 : RUN npm install | |
---> Using cache | |
---> 7e55a3e0f29f | |
Step 9/11 : COPY . . | |
---> Using cache | |
---> 02bc6c9d5074 | |
Step 10/11 : EXPOSE 4000 | |
---> Using cache | |
---> ba18723a0168 | |
Step 11/11 : CMD [ "npm", "start" ] | |
---> Using cache | |
---> a7c4d1b650c5 | |
Successfully built a7c4d1b650c5 | |
Successfully tagged node-server:latest | |
WARNING: Image for service node was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`. | |
Creating mtg2_app_1 ... done | |
Creating mtg2_node_1 ... done | |
Attaching to mtg2_node_1, mtg2_app_1 | |
app_1 | | |
app_1 | > graphql-server@1.0.0 start /usr/src/app/release | |
app_1 | > node index.js | |
app_1 | | |
node_1 | | |
node_1 | > graphql-server@1.0.0 start /usr/src/app/release | |
node_1 | > node index.js | |
node_1 | | |
app_1 | module.js:549 | |
app_1 | throw err; | |
app_1 | ^ | |
app_1 | | |
app_1 | Error: Cannot find module '/usr/src/app/release/index.js' | |
app_1 | at Function.Module._resolveFilename (module.js:547:15) | |
app_1 | at Function.Module._load (module.js:474:25) | |
app_1 | at Function.Module.runMain (module.js:693:10) | |
app_1 | at startup (bootstrap_node.js:191:16) | |
app_1 | at bootstrap_node.js:612:3 | |
node_1 | module.js:549 | |
node_1 | throw err; | |
node_1 | ^ | |
node_1 | | |
node_1 | Error: Cannot find module '/usr/src/app/release/index.js' | |
node_1 | at Function.Module._resolveFilename (module.js:547:15) | |
node_1 | at Function.Module._load (module.js:474:25) | |
node_1 | at Function.Module.runMain (module.js:693:10) | |
node_1 | at startup (bootstrap_node.js:191:16) | |
node_1 | at bootstrap_node.js:612:3 | |
app_1 | npm ERR! code ELIFECYCLE | |
node_1 | npm ERR! code ELIFECYCLE | |
node_1 | npm ERR! errno 1 | |
node_1 | npm ERR! graphql-server@1.0.0 start: `node index.js` | |
node_1 | npm ERR! Exit status 1 | |
node_1 | npm ERR! | |
node_1 | npm ERR! Failed at the graphql-server@1.0.0 start script. | |
node_1 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
app_1 | npm ERR! errno 1 | |
app_1 | npm ERR! graphql-server@1.0.0 start: `node index.js` | |
app_1 | npm ERR! Exit status 1 | |
app_1 | npm ERR! | |
app_1 | npm ERR! Failed at the graphql-server@1.0.0 start script. | |
app_1 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
node_1 | | |
node_1 | npm ERR! A complete log of this run can be found in: | |
node_1 | npm ERR! /root/.npm/_logs/2018-07-16T09_39_26_267Z-debug.log | |
app_1 | | |
app_1 | npm ERR! A complete log of this run can be found in: | |
app_1 | npm ERR! /root/.npm/_logs/2018-07-16T09_39_26_272Z-debug.log | |
mtg2_node_1 exited with code 1 | |
mtg2_app_1 exited with code 1 | |
PS C:\Users\XPS-User\Documents\mtg2> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment