Created
April 18, 2018 05:47
-
-
Save apex-omontgomery/0cbca5cae162fb1241d82b637952d3ca to your computer and use it in GitHub Desktop.
This file contains hidden or 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\wimo7\Desktop\hampton> yarn | |
yarn install v1.3.2 | |
[1/4] Resolving packages... | |
success Already up-to-date. | |
Done in 0.74s. | |
PS C:\Users\wimo7\Desktop\hampton> yarn run build | |
yarn run v1.3.2 | |
$ node scripts/build.js | |
Creating an optimized production build... | |
(node:10636) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56 | |
parseQuery() will be replaced with getOptions() in the next major version of loader-utils. | |
(node:10636) DeprecationWarning: Chunk.modules is deprecated. Use Chunk.getNumberOfModules/mapModules/forEachModule/containsModule instead. | |
Compiled successfully. | |
File sizes after gzip: | |
604.53 KB build\static\js\main.76661931.js | |
16.34 KB build\static\css\main.1353e8f1.css | |
Done in 33.78s. | |
PS C:\Users\wimo7\Desktop\hampton> docker-compose up -d --build | |
Building web | |
Step 1/11 : FROM node:7 | |
7: Pulling from library/node | |
ad74af05f5a2: Pull complete | |
2b032b8bbe8b: Pull complete | |
a9a5b35f6ead: Pull complete | |
3245b5a1c52c: Pull complete | |
afa075743392: Pull complete | |
9fb9f21641cd: Pull complete | |
3f40ad2666bc: Pull complete | |
49c0ed396b49: Pull complete | |
Digest: sha256:af5c2c6ac8bc3fa372ac031ef60c45a285eeba7bce9ee9ed66dad3a01e29ab8d | |
Status: Downloaded newer image for node:7 | |
---> d9aed20b68a4 | |
Step 2/11 : ENV IN_DOCKER true | |
---> Running in 82da454f5651 | |
Removing intermediate container 82da454f5651 | |
---> 98f8202caed5 | |
Step 3/11 : RUN mkdir -p /usr/src/app | |
---> Running in 8512c5928556 | |
Removing intermediate container 8512c5928556 | |
---> b4e3e8e9217a | |
Step 4/11 : WORKDIR /usr/src/app | |
Removing intermediate container 63586574d88d | |
---> b489aa6c42a9 | |
Step 5/11 : COPY package.json /usr/src/app/ | |
---> d6835d6c294b | |
Step 6/11 : COPY yarn.lock /usr/src/app/ | |
---> 103c0dc131a9 | |
Step 7/11 : RUN npm config set registry "https://registry.npmjs.org" | |
---> Running in acae35c803f5 | |
npm info it worked if it ends with ok | |
npm info using [email protected] | |
npm info using [email protected] | |
npm info config set "registry" "https://registry.npmjs.org" | |
npm info ok | |
Removing intermediate container acae35c803f5 | |
---> 3ca43e9c5387 | |
Step 8/11 : RUN yarn install --no-progress | |
---> Running in 4bf914bc5b9a | |
yarn install v0.24.4 | |
[1/4] Resolving packages... | |
[2/4] Fetching packages... | |
warning [email protected]: The platform "linux" is incompatible with this module. | |
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. | |
[3/4] Linking dependencies... | |
warning "[email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.0.0". | |
warning "[email protected]" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0". | |
warning "[email protected]" has incorrect peer dependency "webpack@2". | |
warning "[email protected]" has incorrect peer dependency "webpack@^2.2.0". | |
warning "[email protected]" has incorrect peer dependency "webpack@1 || ^2 || ^2.1.0-beta || ^2.2.0-rc". | |
warning "[email protected]" has incorrect peer dependency "webpack@^1 || ^2 || ^2.1.0-beta || ^2.2.0-beta". | |
[4/4] Building fresh packages... | |
success Saved lockfile. | |
Done in 124.34s. | |
Removing intermediate container 4bf914bc5b9a | |
---> 62663419b485 | |
Step 9/11 : COPY . /usr/src/app | |
---> 927b430ab939 | |
Step 10/11 : EXPOSE 8080 | |
---> Running in 6382ff59089b | |
Removing intermediate container 6382ff59089b | |
---> 64f0efe11d76 | |
Step 11/11 : CMD [ "npm", "run", "start:server" ] | |
---> Running in caaf995f2cee | |
Removing intermediate container caaf995f2cee | |
---> ed2f5c4c7067 | |
Successfully built ed2f5c4c7067 | |
Successfully tagged operationcodefrontend_web:latest | |
Creating operationcodefrontend_web_1 ... done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment