Browse Source

feat(webhooks): Set the default docker time zone

pull/575/head
cKey 4 years ago
parent
commit
291e750225
  1. 6
      aspnet-core/services/LY.MicroService.WebhooksManagement.HttpApi.Host/Dockerfile

6
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" ]

Loading…
Cancel
Save