build(Dockerfile): 设置时区为亚洲/上海

- 在 Dockerfile 中添加环境变量 TZ=Asia/Shanghai
- 这个改动将使容器运行时使用北京时间
This commit is contained in:
aixianling
2025-01-08 16:33:47 +08:00
parent 8586b76ef2
commit 456e55bb2e

View File

@@ -7,4 +7,6 @@ RUN npm i --registry=http://registry.npmmirror.com
EXPOSE 12525
ENV TZ=Asia/Shanghai
CMD ["node", "index.js"]