|
|
|
@ -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
|
|
|
|
|