更新entrypoint

This commit is contained in:
whyour 2021-05-01 13:00:12 +08:00
parent 54020ca0dd
commit 22a9b69e54
3 changed files with 13 additions and 7 deletions

View File

@ -39,4 +39,4 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
&& yarn build-back \
&& yarn install --production --network-timeout 100000 \
&& yarn cache clean
ENTRYPOINT ["entrypoint"]
ENTRYPOINT ["./docker-entrypoint.sh"]

View File

@ -2,7 +2,18 @@
set -e
echo -e "======================1. 初始化命令========================\n"
. ${QL_DIR}/shell/share.sh
dir_shell=$(dirname $(readlink -f "$0"))
dir_root=$(
cd $dir_shell
cd ..
pwd
)
. $dir_shell/share.sh
detect_termux
detect_macos
define_cmd
link_shell
echo

View File

@ -148,9 +148,4 @@ fix_config () {
cp -fv $file_config_sample $file_config_user
echo
fi
perl -i -pe "{
s|CMD_UPDATE|$cmd_update|g;
s|CMD_RMLOG|$cmd_rmlog|g;
s|CMD_TASK|$cmd_task|g
}" $list_crontab_user
}