mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-10 18:36:17 +00:00
Update Dockerfile (#262)
This commit is contained in:
@@ -37,6 +37,7 @@ RUN touch /var/log/cron.log
|
|||||||
|
|
||||||
# Define the command to run your application with cron optionally
|
# Define the command to run your application with cron optionally
|
||||||
CMD ["sh", "-c", "echo \"$TZ\" > /etc/timezone && \
|
CMD ["sh", "-c", "echo \"$TZ\" > /etc/timezone && \
|
||||||
|
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
|
||||||
dpkg-reconfigure -f noninteractive tzdata && \
|
dpkg-reconfigure -f noninteractive tzdata && \
|
||||||
envsubst < /etc/cron.d/microsoft-rewards-cron.template > /etc/cron.d/microsoft-rewards-cron && \
|
envsubst < /etc/cron.d/microsoft-rewards-cron.template > /etc/cron.d/microsoft-rewards-cron && \
|
||||||
chmod 0644 /etc/cron.d/microsoft-rewards-cron && \
|
chmod 0644 /etc/cron.d/microsoft-rewards-cron && \
|
||||||
|
|||||||
Reference in New Issue
Block a user