i need to deploy my angular application using nginx server for some tests. i copied nginx image and all needed config from docker as i cannot download it directly (company restrictions)
i copied sbin, lib, config ... in a folder that i can manage (not in /usr/sbin for example)
when i try t start nginx using this command
sudo ./sbin/start-stop-daemon --start --exec
i'm getting this error
./sbin/start-stop-daemon: ./sbin/start-stop-daemon: cannot execute binary file
and when i executed it without sudo i'm getting this error:
zsh: exec format error: ./sbin/start-stop-daemon
the start-stop-daemon is an executable unix file that i copied from my docker.
So, am I missing some steps ? what should i do to start nginx ?