You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shop-pc/Dockerfile

17 lines
475 B

FROM node:12.13.1
WORKDIR /workload
RUN git clone -b msb_test http://oauth2:glpat-J_xPfndR9qruR3a897ZK@internel-git.mashibing.cn/yanxuan-frontend/shop-pc.git
RUN cd shop-pc && npm config set registry https://registry.npm.taobao.org && npm i && npm run build:test
COPY shop-pc/nuxt.config.js /workload/nuxt.config.js
COPY shop-pc/package.json /workload/package.json
COPY shop-pc/.nuxt /workload/.nuxt
COPY shop-pc/static /workload/static
EXPOSE 3000
CMD npm run start