fix: docker部署及脚本备份。

This commit is contained in:
tianyongbao
2024-05-13 17:57:56 +08:00
parent 447b943c3c
commit 1b34c44984
21 changed files with 300 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# 基础镜像
FROM nginx:1.23.3
# author
MAINTAINER ruoyi
# 挂载目录
VOLUME /home/ruoyi/projects/ruoyi-ui
# 创建目录
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