This commit is contained in:
root
2020-05-07 09:05:20 +08:00
commit e9d164c703
86 changed files with 11584 additions and 0 deletions

21
docker/docker-entrypoint.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash
set -e
crond
echo -e "\n======================== 2. 更新源代码 ========================\n"
jd update
echo
crontab /root/jd/config/crontab.list
jd panelon
jd panelon
echo -e "容器启动成功...\n"
if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ]; then
set -- node "$@"
fi
exec "$@"