|
|
|
@ -30,8 +30,8 @@ RUN \
|
|
|
|
|
jq \
|
|
|
|
|
git \
|
|
|
|
|
ffmpeg \
|
|
|
|
|
python \
|
|
|
|
|
python-pip && \
|
|
|
|
|
python3 \
|
|
|
|
|
python3-pip && \
|
|
|
|
|
apt-get purge --auto-remove -y && \
|
|
|
|
|
apt-get clean && \
|
|
|
|
|
echo "************ setup SMA ************" && \
|
|
|
|
@ -46,8 +46,8 @@ RUN \
|
|
|
|
|
chgrp users ${SMA_PATH}/config/sma.log && \
|
|
|
|
|
chmod g+w ${SMA_PATH}/config/sma.log && \
|
|
|
|
|
echo "************ install pip dependencies ************" && \
|
|
|
|
|
python -m pip install --user --upgrade pip && \
|
|
|
|
|
pip install -r ${SMA_PATH}/setup/requirements.txt
|
|
|
|
|
python3 -m pip install --user --upgrade pip && \
|
|
|
|
|
pip3 install -r ${SMA_PATH}/setup/requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# copy local files
|
|
|
|
|