mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-10 18:36:17 +00:00
Dockerfile, handle non-unix docker users (#409)
* Preliminary dockerization with scheduling Porting working docker implementation (scheduling, etc.) into revised v2 * Update dockerfile to fix line endings for non-unix docker users * Update dockerfile to fix line endings for non-unix docker users --------- Co-authored-by: Netsky <56271887+TheNetsky@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6b6028bb52
commit
996d9485cd
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user