更新dockerfile
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM node:16.19-alpine
|
||||
FROM registry.cn-zhangjiakou.aliyuncs.com/dvadmin-pro/dvadmin3-base-web:16.19-alpine
|
||||
WORKDIR /web/
|
||||
COPY web/. .
|
||||
RUN yarn install
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM node:16.19-alpine
|
||||
WORKDIR /
|
||||
COPY ./web/package.json .
|
||||
RUN npm install -g yarn
|
||||
RUN yarn install --registry=https://registry.npm.taobao.org
|
||||
|
||||
Reference in New Issue
Block a user