Update Dockerfile (#262)

This commit is contained in:
HMCDAT
2025-02-28 18:34:47 +07:00
committed by GitHub
parent caf6a42a38
commit 6f19bd4b0e

View File

@@ -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 && \