feat: 优化docker

This commit is contained in:
李强
2023-11-22 17:52:39 +08:00
parent fb8b0a5ac6
commit dd2dcd4ad1

View File

@@ -1,7 +1,7 @@
FROM registry.cn-zhangjiakou.aliyuncs.com/dvadmin-pro/dvadmin3-base-web:16.19-alpine
WORKDIR /web/
COPY web/. .
RUN yarn install
RUN yarn install --registry=https://registry.npm.taobao.org
RUN yarn build
FROM nginx:alpine