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