🐛 fix a bug.
Some checks failed
BuildImage / build-image (push) Failing after 35s

This commit is contained in:
李寻欢 2025-02-17 15:28:29 +08:00
parent 3fde6db7a0
commit 40873f019b

View File

@ -11,9 +11,7 @@ LABEL org.opencontainers.image.authors="lxh@cxh.cn"
ENV TZ="Asia/Shanghai"
# 设置时区和安装Redis
RUN apk add --no-cache tzdata redis-server && \
cp /usr/share/zoneinfo/${TZ} /etc/localtime && \
echo "${TZ}" > /etc/timezone && \
RUN apk add --no-cache redis-server && \
rm -rf /var/lib/apt/lists/*
# 设置工作目录