mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Copy eslint config, test files
This commit is contained in:
parent
40aedb12ee
commit
11a7f0a41a
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user