From 167246dc6f972fb9a54e571f53e5357fca3541fd Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Thu, 14 Apr 2022 11:16:06 +0800 Subject: [PATCH] fix(Dockerfile): fix case error --- .../Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnet-core/services/LY.MicroService.WebhooksManagement.HttpApi.Host/Dockerfile b/aspnet-core/services/LY.MicroService.WebhooksManagement.HttpApi.Host/Dockerfile index f5ed3265f..b5e30114c 100644 --- a/aspnet-core/services/LY.MicroService.WebhooksManagement.HttpApi.Host/Dockerfile +++ b/aspnet-core/services/LY.MicroService.WebhooksManagement.HttpApi.Host/Dockerfile @@ -5,8 +5,8 @@ WORKDIR /app COPY . /app ## Beijing time, self replacement -env tz=asia/shanghai -run ln -snf /usr/share/zoneinfo/$tz /etc/localtime && echo '$tz' > /etc/timezone +ENV TZ=Asia/Shanghai +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone EXPOSE 80/tcp VOLUME [ "./app/Logs" ]