diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 5c3cb2a..21bcabd 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -89,7 +89,7 @@ case ${VERSION} in if [ "$CAPTCHA" == "1" ]; then echo -e "\n ======== \n ${Info} ${GreenBG} 正在使用验证码服务 ${Font} \n ======== \n" echo -e "\n ======== \n ${Info} ${GreenBG} 验证码服务地址:http://${CAPTCHA_HOST}:${CAPTCHA_PORT} ${Font} \n ======== \n" - cd ./captcha && php -S $CAPTCHA_HOST:$CAPTCHA_PORT & cd .. && php app.php m:a + (cd ./captcha && php -S $CAPTCHA_HOST:$CAPTCHA_PORT &) ; (cd .. && php app.php m:a) else php app.php m:a fi