mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 14:46:06 +08:00
更新entrypoint
This commit is contained in:
parent
54020ca0dd
commit
22a9b69e54
|
@ -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"]
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user