feat: enhance docker run env

This commit is contained in:
zhangsz committed 2024-12-30 12:06:02 +08:00
1 parent f5723b3106
commit 0207122187
25 files changed
+133 -114

No files matched your search

+4 -4
View File
@@ -4,10 +4,10 @@ FROM redis
MAINTAINER wfc
# 挂载目录
VOLUME /home/wfc/redis
VOLUME /opt/wfc/redis
# 创建目录
RUN mkdir -p /home/wfc/redis
RUN mkdir -p /opt/wfc/redis
# 指定路径
WORKDIR /home/wfc/redis
WORKDIR /opt/wfc/redis
# 复制conf文件到路径
COPY ./conf/redis.conf /home/wfc/redis/redis.conf
COPY ./conf/redis.conf /opt/wfc/redis/redis.conf