部署环境优化

This commit is contained in:
李强
2024-03-30 21:41:59 +08:00
parent 18b44e2aa4
commit cdf3d7cab8
3 changed files with 21 additions and 2 deletions

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 --registry=https://registry.npm.taobao.org
RUN yarn install --registry=https://registry.npmmirror.com
RUN yarn build
FROM nginx:alpine