From 168e680f3a250415f0b701adb81716b4a57de6a6 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 28 Jul 2022 20:14:31 +0000 Subject: [PATCH] add sma --- arm64v8.dockerfile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/arm64v8.dockerfile b/arm64v8.dockerfile index 6a380cb..3a721fc 100644 --- a/arm64v8.dockerfile +++ b/arm64v8.dockerfile @@ -32,6 +32,7 @@ ENV searchSort=date ENV enableBeetsTagging=true ENV enableReplaygainTags=true ENV downloadPath=/downloads-lidarr-extended +ENV SMA_PATH /usr/local/sma RUN \ echo "*** install packages ***" && \ @@ -51,7 +52,21 @@ RUN \ pyacoustid \ tidal-dl \ r128gain \ - deemix + deemix &&\ + echo "************ setup SMA ************" && \ + echo "************ setup directory ************" && \ + mkdir -p ${SMA_PATH} && \ + echo "************ download repo ************" && \ + git clone https://github.com/mdhiggins/sickbeard_mp4_automator.git ${SMA_PATH} && \ + mkdir -p ${SMA_PATH}/config && \ + echo "************ create logging file ************" && \ + mkdir -p ${SMA_PATH}/config && \ + touch ${SMA_PATH}/config/sma.log && \ + chgrp users ${SMA_PATH}/config/sma.log && \ + chmod g+w ${SMA_PATH}/config/sma.log && \ + echo "************ install pip dependencies ************" && \ + python3 -m pip install --user --upgrade pip && \ + pip3 install -r ${SMA_PATH}/setup/requirements.txt # copy local files COPY root/ /