Adapt dockerfile to styleguide integration

This commit is contained in:
JB 2018-11-29 22:55:39 +01:00
parent dd91e82cdc
commit 8b0d637700

View File

@ -20,9 +20,7 @@ RUN yarn install --production=false --frozen-lockfile --non-interactive
# Install and build Styleguide
COPY styleguide/ ./styleguide
RUN cd styleguide && yarn install --production=false --frozen-lockfile --non-interactive \
&& cd .. \
&& yarn run styleguide:build \
&& rm -Rf styleguide/node_modules
&& cd ..
COPY . .
RUN ["yarn", "run", "build"]