I have the following in my Dockerfile:
ENTRYPOINT ["/bin/wait-for", "wordpress:9000", "--"]
CMD nginx -g "daemon off;"
Which results in:
nginx_1 | Attempting...
nginx_1 | Command: /bin/sh -c nginx -g "daemon off;"
nginx_1 | Attempting to execute command:
nginx_1 | /bin/sh -c nginx -g "daemon off;"
ayurved_nginx_1 exited with code 0
I'm guessing the issues is the quotes...
How can I make it execute /bin/wait-for wordpress:9000 -- nginx -g "daemon off;"
?