2
0

feat: 调整docker脚本

This commit is contained in:
caiyuchao
2024-11-14 18:55:56 +08:00
parent 432ff24fe6
commit 98c9c358e7
25 changed files with 68 additions and 62 deletions

View File

@@ -1,13 +1,13 @@
# 基础镜像
FROM redis
# author
MAINTAINER ruoyi
MAINTAINER wfc
# 挂载目录
VOLUME /home/ruoyi/redis
VOLUME /home/wfc/redis
# 创建目录
RUN mkdir -p /home/ruoyi/redis
RUN mkdir -p /home/wfc/redis
# 指定路径
WORKDIR /home/ruoyi/redis
WORKDIR /home/wfc/redis
# 复制conf文件到路径
COPY ./conf/redis.conf /home/ruoyi/redis/redis.conf
COPY ./conf/redis.conf /home/wfc/redis/redis.conf