diff --git a/Dockerfile b/Dockerfile index d0d0e28dd..9cee1fa94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ RUN cd styleguide && yarn install --production=false --frozen-lockfile --non-int COPY package.json . COPY yarn.lock . +RUN yarn run styleguide:build RUN yarn install --production=false --frozen-lockfile --non-interactive --ignore-engines COPY . . diff --git a/README.md b/README.md index 41ec07c5b..e57de2edd 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ # NOTE: currently we need the --ignore-engines parameter as one package is an idiot and dont like new node versions # install all dependencies $ cd styleguide && yarn install --ignore-engines && cd .. +$ yarn run styleguide:build $ yarn install --ignore-engines ```