优化 docker html 配置 docker-compose.yml 已经配置了 volumes,多次build 后 有会报错 “max depth exceeded”,镜像变大到2.3GB, ningx 初始镜像是141.5 MB。

Signed-off-by: 云飞扬 <15678871232@qq.com>
pull/289/head
云飞扬 3 years ago committed by Gitee
parent ee3f03f1f1
commit 0ed6e9138e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -11,5 +11,3 @@ RUN mkdir -p /home/ruoyi/projects/ruoyi-ui
WORKDIR /home/ruoyi/projects/ruoyi-ui
# 复制conf文件到路径
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
# 复制html文件到路径
COPY ./html/dist /home/ruoyi/projects/ruoyi-ui

Loading…
Cancel
Save