Browse Source

Merge pull request #575 from colinin/5.2.0

feat(webhooks): Set the default docker time zone
pull/580/head
yx lin 4 years ago
committed by GitHub
parent
commit
6ea65c8149
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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