Skip to content

Instantly share code, notes, and snippets.

@jjhampton
Created April 19, 2018 02:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjhampton/50879d654a763b02bfaeee0cb9a0723e to your computer and use it in GitHub Desktop.
Save jjhampton/50879d654a763b02bfaeee0cb9a0723e to your computer and use it in GitHub Desktop.
10:27:23 (945-webpack-css-order) ~/dev-projects/op-fe-2$ yarn
yarn install v1.5.1
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > @storybook/addon-actions@3.3.15" has unmet peer dependency "@storybook/addons@^3.3.0".
warning " > @storybook/addon-links@3.3.15" has unmet peer dependency "@storybook/addons@^3.3.0".
warning " > @storybook/react@3.3.15" has incorrect peer dependency "babel-core@^6.26.0 || ^7.0.0-0".
warning " > react-modal@2.4.1" has incorrect peer dependency "react@^0.14.0 || ^15.0.0".
warning " > react-modal@2.4.1" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0".
warning " > babel-loader@7.0.0" has incorrect peer dependency "webpack@2".
warning " > html-webpack-plugin@2.28.0" has incorrect peer dependency "webpack@1 || ^2 || ^2.1.0-beta || ^2.2.0-rc".
warning " > sw-precache-webpack-plugin@0.9.1" has incorrect peer dependency "webpack@^1 || ^2 || ^2.1.0-beta || ^2.2.0-beta".
[4/4] Building fresh packages...
warning Your current version of Yarn is out of date. The latest version is "1.6.0", while you're on "1.5.1".
info To upgrade, run the following command:
$ sudo apt-get update && sudo apt-get install yarn
Done in 16.23s.
10:28:58 {945-webpack-css-order} ~/dev-projects/op-fe-2$ yarn run build
yarn run v1.5.1
$ node scripts/build.js
Creating an optimized production build...
(node:13331) 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.
Compiled successfully.
File sizes after gzip:
632.97 KB build/static/js/main.ee5aed17.js
16.44 KB build/static/css/main.c123982d.css
Done in 35.78s.
10:32:23 {945-webpack-css-order} ~/dev-projects/op-fe-2$ docker-compose up -d --build
Building web
Step 1/11 : FROM node:7
---> d9aed20b68a4
Step 2/11 : ENV IN_DOCKER true
---> Using cache
---> 5d8015ac5b39
Step 3/11 : RUN mkdir -p /usr/src/app
---> Using cache
---> 98345534757e
Step 4/11 : WORKDIR /usr/src/app
---> Using cache
---> 612a3b3d8029
Step 5/11 : COPY package.json /usr/src/app/
---> Using cache
---> 5ab4a146651c
Step 6/11 : COPY yarn.lock /usr/src/app/
---> Using cache
---> 4fad9745f6b8
Step 7/11 : RUN npm config set registry "https://registry.npmjs.org"
---> Using cache
---> 64b2506d00fc
Step 8/11 : RUN yarn install --no-progress
---> Using cache
---> 8b67a5339613
Step 9/11 : COPY . /usr/src/app
---> 0d21b2a14a51
Step 10/11 : EXPOSE 8080
---> Running in 71a2a2703d6f
Removing intermediate container 71a2a2703d6f
---> 02f7539da9f3
Step 11/11 : CMD [ "npm", "run", "start:server" ]
---> Running in 8b24fbdaabec
Removing intermediate container 8b24fbdaabec
---> 24364a8b081b
Successfully built 24364a8b081b
Successfully tagged operationcodefrontend_web:latest
Recreating operationcodefrontend_web_1 ... done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment