I have a question about passing arguments in docker-compose run:
I'm using a Dockerfile that has the following entrypoint:
ENTRYPOINT [ "/bin/wp" ]
CMD [ "--allow-root", "--help" ]
I need to --allow-root
be ALWAYS included.
If I execute docker-compose run [service]
the argument goes by default, but if I execute docker-compose run [service] option (option option...)
I need to include the argument manually.
How can he ALWAYS include the argument? Do I need to edit Dockerfile (I'm not the author) or can I do it via docker-compose? I tried the command
following #, but I did not succeed.