Skip to content

Commit

Permalink
fix: file permission in dockerfile for cron
Browse files Browse the repository at this point in the history
  • Loading branch information
DhananjayPurohit committed Apr 19, 2024
1 parent eae1e4d commit 3dfaab3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keylistCron/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ WORKDIR /app
COPY ../keylistCron/send_commitment.sh .
COPY ../keylistCron/crontab.txt .

RUN chmod +x /app/send_commitment.sh

# CMD to run cron and keep container running
CMD ["sh", "-c", "crontab ./crontab.txt && tail -f /dev/null"]

0 comments on commit 3dfaab3

Please sign in to comment.