From 5a239fc33e44d4bad92ea5567f341ca1b856cc3d Mon Sep 17 00:00:00 2001 From: lxh Date: Mon, 17 Feb 2025 15:30:09 +0800 Subject: [PATCH] :bug: fix a bug. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/* # 设置工作目录