diff --git a/Dockerfile b/Dockerfile index 75d6e7c..24b8771 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,8 @@ LABEL org.opencontainers.image.authors="lxh@cxh.cn" # 预定义参数 ENV TZ="Asia/Shanghai" -# 设置时区和安装Redis -RUN apk add --no-cache redis-server && \ +# 安装Redis +RUN apt-get update && apt-get install -y redis-server && \ rm -rf /var/lib/apt/lists/* # 设置工作目录