yudao-cloud/admin-web/Dockerfile

13 lines
161 B
Docker
Raw Normal View History

2019-02-27 11:06:55 +08:00
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"]