From 6f19bd4b0ef4829f7e02c453d244ca8899e78908 Mon Sep 17 00:00:00 2001 From: HMCDAT <90164248+hmcdat@users.noreply.github.com> Date: Fri, 28 Feb 2025 18:34:47 +0700 Subject: [PATCH] Update Dockerfile (#262) --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 01060cd..16bd899 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,7 @@ RUN touch /var/log/cron.log # Define the command to run your application with cron optionally CMD ["sh", "-c", "echo \"$TZ\" > /etc/timezone && \ + ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \ dpkg-reconfigure -f noninteractive tzdata && \ envsubst < /etc/cron.d/microsoft-rewards-cron.template > /etc/cron.d/microsoft-rewards-cron && \ chmod 0644 /etc/cron.d/microsoft-rewards-cron && \