From 4869d517b8f09158e6de172f5d483b430fc7b8a2 Mon Sep 17 00:00:00 2001 From: Lkeme <19500576+lkeme@users.noreply.github.com> Date: Tue, 18 Apr 2023 10:38:43 +0800 Subject: [PATCH] [fix] docker sh command pollution fixed #211 --- docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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