修复docker启动逻辑

This commit is contained in:
whyour
2022-09-21 17:42:13 +08:00
parent c874dc9705
commit ae891f8e55
3 changed files with 55 additions and 61 deletions
+1 -6
View File
@@ -14,12 +14,7 @@ cp -fv $nginx_app_conf /etc/nginx/conf.d/front.conf
sed -i "s,QL_BASE_URL,${qlBaseUrl},g" /etc/nginx/conf.d/front.conf
pm2 l &>/dev/null
if [[ $PipMirror ]]; then
pip3 config set global.index-url $PipMirror
fi
if [[ $NpmMirror ]]; then
npm config set registry $NpmMirror
fi
patch_version &>/dev/null
echo
echo -e "======================2. 安装依赖========================\n"