fix: 设置后端容器时区为 Asia/Shanghai
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-01-28 17:39:40 +08:00
parent 3ebd8b20a4
commit 3cf5451597

View File

@@ -1,5 +1,9 @@
FROM python:3.11-slim
# 设置时区为上海
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /app
# 安装依赖(使用阿里云镜像)