mirror of
https://github.com/chillzhuang/Sword
synced 2024-11-05 18:19:23 +08:00
13 lines
161 B
Docker
13 lines
161 B
Docker
|
FROM circleci/node:latest-browsers
|
||
|
|
||
|
WORKDIR /usr/src/app/
|
||
|
USER root
|
||
|
COPY package.json ./
|
||
|
RUN yarn
|
||
|
|
||
|
COPY ./ ./
|
||
|
|
||
|
RUN npm run test:all
|
||
|
|
||
|
CMD ["npm", "run", "build"]
|