mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-28 04:31:57 +08:00
优化 docker html 配置 docker-compose.yml 已经配置了 volumes,多次build 后 有会报错 “max depth exceeded”,镜像变大到2.3GB, ningx 初始镜像是141.5 MB。
Signed-off-by: 云飞扬 <15678871232@qq.com>
This commit is contained in:
@@ -10,6 +10,4 @@ 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
|
||||
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
|
||||
Reference in New Issue
Block a user