From 6997c76dd1daecf86fbea741ba58717176e4b907 Mon Sep 17 00:00:00 2001 From: junjun Date: Fri, 5 Sep 2025 15:36:37 +0800 Subject: [PATCH] build: add timezone into docker image --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index a33a28e8..654ca8e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,6 +48,9 @@ RUN npm install # Runtime stage FROM registry.cn-qingdao.aliyuncs.com/dataease/sqlbot-python-pg:latest +RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ + echo "Asia/Shanghai" > /etc/timezone + # Set runtime environment variables ENV PYTHONUNBUFFERED=1 ENV SQLBOT_HOME=/opt/sqlbot