From 291e750225cd9bb7190074ac24e14cc76f2997a7 Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Thu, 14 Apr 2022 11:13:38 +0800 Subject: [PATCH] feat(webhooks): Set the default docker time zone --- .../Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aspnet-core/services/LY.MicroService.WebhooksManagement.HttpApi.Host/Dockerfile b/aspnet-core/services/LY.MicroService.WebhooksManagement.HttpApi.Host/Dockerfile index 56e567058..f5ed3265f 100644 --- a/aspnet-core/services/LY.MicroService.WebhooksManagement.HttpApi.Host/Dockerfile +++ b/aspnet-core/services/LY.MicroService.WebhooksManagement.HttpApi.Host/Dockerfile @@ -4,9 +4,9 @@ WORKDIR /app COPY . /app -#�Ϻ�ʱ�� -#ENV TZ=Asia/Shanghai -#RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone +## Beijing time, self replacement +env tz=asia/shanghai +run ln -snf /usr/share/zoneinfo/$tz /etc/localtime && echo '$tz' > /etc/timezone EXPOSE 80/tcp VOLUME [ "./app/Logs" ]