From 11a7f0a41abc6229ff2a94c147fad37d85a06fc5 Mon Sep 17 00:00:00 2001 From: Matt Rider Date: Fri, 4 Jan 2019 20:29:45 -0200 Subject: [PATCH] Copy eslint config, test files --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6f5f6ec02..5b03c8373 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,14 +14,14 @@ RUN apk --no-cache add git COPY locales ./locales COPY styleguide ./styleguide COPY server ./server -COPY package.json yarn.lock nuxt.config.js ./ +COPY package.json yarn.lock .eslintrc.js .eslintignore store/auth.test.js components/Badges.spec.js nuxt.config.js ./ CMD ["yarn", "run", "start"] FROM base as build-and-test RUN yarn install --production=false --frozen-lockfile --non-interactive RUN cd styleguide && yarn install --production=false --frozen-lockfile --non-interactive \ && cd .. \ - && yarn run styleguide:build && eslint --init + && yarn run styleguide:build COPY . . RUN yarn run build