mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
build: add timezone into docker image
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user