Added service-exec script for running periodic processes

This commit is contained in:
2022-12-22 06:48:16 +00:00
parent beaa183056
commit 4401fd48d8
3 changed files with 8 additions and 5 deletions

View File

@@ -1,4 +1,7 @@
FROM cron
MAINTAINER gyurix
COPY . /
RUN mkdir -p /opt/cron
COPY entrypoint.sh /entrypoint.sh
COPY cron-re-read.sh /cron-re-read.sh
COPY service /usr/local/bin/
ENTRYPOINT ["/entrypoint.sh"]