1. Temporarily modify the time zone
ENV TIME_ZONE Asia/Shanghai
or
ENV TZ Asia/Shanghai
2. Permanently modify the time zone
Method 1:
Soft connection method
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
or copy method
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
Method 2: