feat: 添加 Docker 容器时区配置,支持通过 .env 自定义

This commit is contained in:
WrBug
2026-01-11 14:36:49 +08:00
parent 6af76c4d80
commit b58bb267a1
4 changed files with 17 additions and 2 deletions
+2 -2
View File
@@ -47,9 +47,9 @@ FROM eclipse-temurin:17-jre-jammy
WORKDIR /app
# 安装 Nginx 和必要的工具
# 安装 Nginx 和必要的工具(包含时区数据)
RUN apt-get update && \
apt-get install -y nginx curl && \
apt-get install -y nginx curl tzdata && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /etc/nginx/sites-enabled/default