diff --git a/Dockerfile b/Dockerfile index 7a6d25d..e786f77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,6 +83,8 @@ COPY --from=builder /usr/src/microsoft-rewards-script/node_modules ./node_module COPY --chmod=755 src/run_daily.sh ./src/run_daily.sh COPY --chmod=644 src/crontab.template /etc/cron.d/microsoft-rewards-cron.template COPY --chmod=755 entrypoint.sh /usr/local/bin/entrypoint.sh +RUN chmod 755 /usr/local/bin/entrypoint.sh \ + && sed -i 's/\r$//' /usr/local/bin/entrypoint.sh # Entrypoint handles TZ, initial run toggle, cron templating & launch ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]