Trying to access the command line args from a dotnet core console application in docker.
This is basically just the default template with default docker compose / dockerfile template.
Tried a few different approaches.
- Add args to ENTRYPOINT in dockerfile
- Added args to CMD in dockerfile
- Added args under build in the docker-compose file
Cant get it to pass it on, how is this usually handled?