docker 部署

pull/1/head
李强 2021-03-09 00:56:43 +08:00
parent 4fb891da86
commit 531e0b95db
2 changed files with 2 additions and 2 deletions

View File

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

View File

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