Skip to content

Commit 6997c76

Browse files
committed
build: add timezone into docker image
1 parent 5411e93 commit 6997c76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ RUN npm install
4848
# Runtime stage
4949
FROM registry.cn-qingdao.aliyuncs.com/dataease/sqlbot-python-pg:latest
5050

51+
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
52+
echo "Asia/Shanghai" > /etc/timezone
53+
5154
# Set runtime environment variables
5255
ENV PYTHONUNBUFFERED=1
5356
ENV SQLBOT_HOME=/opt/sqlbot

0 commit comments

Comments
 (0)