docker 部署

pull/1/head
李强 2021-03-09 00:55:22 +08:00
parent 7e4f70c2a2
commit 4fb891da86
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
FROM node:12
WORKDIR /ddvadmin-doc
COPY ./dvadmin-ui/package.json /
RUN npm install --registry=https://registry.npm.taobao.org
RUN npm run build:prod
#CMD ["npm","run","dev"]

View File

@ -1,5 +1,5 @@
FROM node:12
WORKDIR /ddvadmin-ui
COPY ./dvadmin-ui/package.json /
RUN npm install --registry=https://registry.npm.taobao.org
RUN npm run build:prod
#CMD ["npm","run","dev"]