django-vue-admin/docker_env/vue-doc/Dockerfile

6 lines
142 B
Docker
Raw Normal View History

2021-03-08 16:41:48 +00:00
FROM node:12
2021-03-08 16:52:13 +00:00
WORKDIR /ddvadmin-doc
2021-03-08 16:41:48 +00:00
RUN npm install --registry=https://registry.npm.taobao.org
2021-03-08 16:52:13 +00:00
RUN npm run build:prod
2021-03-08 16:41:48 +00:00
#CMD ["npm","run","dev"]