|
|
@ -12,11 +12,15 @@ RUN \
|
|
|
|
flac \
|
|
|
|
flac \
|
|
|
|
ffmpeg \
|
|
|
|
ffmpeg \
|
|
|
|
opus-tools \
|
|
|
|
opus-tools \
|
|
|
|
jq && \
|
|
|
|
jq \
|
|
|
|
|
|
|
|
cron && \
|
|
|
|
apt-get purge --auto-remove -y && \
|
|
|
|
apt-get purge --auto-remove -y && \
|
|
|
|
apt-get clean
|
|
|
|
apt-get clean
|
|
|
|
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
RUN \
|
|
|
|
|
|
|
|
# setup cron
|
|
|
|
|
|
|
|
service cron start && \
|
|
|
|
|
|
|
|
echo "* * * * * root bash /etc/cont-init.d/02-script-setup.bash" >> "/etc/crontab" && \
|
|
|
|
# Download Scripts
|
|
|
|
# Download Scripts
|
|
|
|
mkdir -p "/root/scripts" && \
|
|
|
|
mkdir -p "/root/scripts" && \
|
|
|
|
curl -o "/root/scripts/AudioPostProcessing.bash" "https://raw.githubusercontent.com/RandomNinjaAtk/Scripts/master/sabnzbd/AudioPostProcessing.bash"
|
|
|
|
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
|
|
|
|
# ports and volumes
|
|
|
|
EXPOSE 8080 9090
|
|
|
|
EXPOSE 8080 9090
|
|
|
|
VOLUME /config
|
|
|
|
VOLUME /config /downloads
|
|
|
|