Merge pull request #217 from hockeygoalie35/main

Fix Jellyfish install, SMA pip command
This commit is contained in:
RandomNinjaAtk 2024-03-25 13:37:26 -04:00 committed by GitHub
commit 950bedf95b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,6 +25,7 @@ apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing atomicpa
npm install -g miraclx/freyr-js &&\ npm install -g miraclx/freyr-js &&\
echo "*** install python packages ***" && \ echo "*** install python packages ***" && \
pip install --upgrade --no-cache-dir --break-system-packages \ pip install --upgrade --no-cache-dir --break-system-packages \
jellyfish==0.10 \
beets \ beets \
yq \ yq \
pyxDamerauLevenshtein \ pyxDamerauLevenshtein \
@ -49,8 +50,8 @@ touch ${SMA_PATH}/config/sma.log && \
chgrp users ${SMA_PATH}/config/sma.log && \ chgrp users ${SMA_PATH}/config/sma.log && \
chmod g+w ${SMA_PATH}/config/sma.log && \ chmod g+w ${SMA_PATH}/config/sma.log && \
echo "************ install pip dependencies ************" && \ echo "************ install pip dependencies ************" && \
python3 -m pip install --upgrade pip && \ python3 -m pip install --break-system-packages --upgrade pip && \
pip3 install -r ${SMA_PATH}/setup/requirements.txt pip3 install --break-system-packages -r ${SMA_PATH}/setup/requirements.txt
mkdir -p /custom-services.d mkdir -p /custom-services.d