docker 部署
parent
7e4f70c2a2
commit
4fb891da86
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue