fix: 🐛 更新docker-compose部署

This commit is contained in:
H0nGzA1
2023-02-23 02:25:31 +08:00
parent 050956a797
commit 82d56eda5d
3 changed files with 6 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
FROM registry.cn-zhangjiakou.aliyuncs.com/dvadmin-pro/dvadmin3-base-web:latest
FROM node:16.19-alpine
WORKDIR /web/
COPY web/. .
RUN cnpm run build
RUN yarn install
RUN yarn build
FROM nginx:alpine
COPY ./docker_env/nginx/my.conf /etc/nginx/conf.d/my.conf