From 3dfaab370ae5fd19b03f8550e0a7e86f2f1c3d01 Mon Sep 17 00:00:00 2001 From: DhananjayPurohit Date: Fri, 19 Apr 2024 19:11:01 +0530 Subject: [PATCH] fix: file permission in dockerfile for cron --- keylistCron/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/keylistCron/Dockerfile b/keylistCron/Dockerfile index 32ecfed4..cdf04e3f 100644 --- a/keylistCron/Dockerfile +++ b/keylistCron/Dockerfile @@ -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"]