Executable script not found

I’m getting this error when i tried to run my nginx image.

2023-07-11 12:38:18 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
2023-07-11 12:38:18 /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
2023-07-11 12:38:18 /docker-entrypoint.sh: Launching /docker-entrypoint.d/setup.sh
2023-07-11 12:18:39 /docker-entrypoint.sh: line 31: /docker-entrypoint.d/setup.sh: not found

but the setup.sh file is really in the docker-entrypoint.d file.