feat: 脚本调整

This commit is contained in:
caiyuchao
2025-09-26 09:42:59 +08:00
parent 04881a7f67
commit 1ddc416cad
5 changed files with 15 additions and 10 deletions

View File

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