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 COPY . /app
#�Ϻ�ʱ�� ## Beijing time, self replacement
#ENV TZ=Asia/Shanghai env tz=asia/shanghai
#RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone run ln -snf /usr/share/zoneinfo/$tz /etc/localtime && echo '$tz' > /etc/timezone
EXPOSE 80/tcp EXPOSE 80/tcp
VOLUME [ "./app/Logs" ] VOLUME [ "./app/Logs" ]

Loading…
Cancel
Save