I am running the following command from my Jenkinsfile. However, I get the error \"The input device is not a TTY\".
Jenkinsfile
docker run -v $PWD:
Using docker-compose exec -T fixed the problem for me via Jenkins
docker-compose exec -T containerName php script.php