From 9914c6a2cf77d141ce4d258917cc05ddff6d4046 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 5 Mar 2020 09:01:49 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bff1dcd..d2c9788 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,11 +12,15 @@ RUN \ flac \ ffmpeg \ opus-tools \ - jq && \ + jq \ + cron && \ apt-get purge --auto-remove -y && \ apt-get clean RUN \ + # setup cron + service cron start && \ + echo "* * * * * root bash /etc/cont-init.d/02-script-setup.bash" >> "/etc/crontab" && \ # Download Scripts mkdir -p "/root/scripts" && \ curl -o "/root/scripts/AudioPostProcessing.bash" "https://raw.githubusercontent.com/RandomNinjaAtk/Scripts/master/sabnzbd/AudioPostProcessing.bash" @@ -28,4 +32,4 @@ COPY root/ / # ports and volumes EXPOSE 8080 9090 -VOLUME /config +VOLUME /config /downloads