What is the best way to add the secrectless.yml file to the docker container?

I should have also mentioned, and I know this is outside the scope of your original question, but… one option you can consider at some point (if you haven’t looked into it already) would be to organize your container setup using Docker Compose. For an example, see:

One nice thing about Docker Compose is that it creates Docker “services” with names that you can use e.g. with curl on the command line (i.e. using the service name in place of a hostname). For an example of this, look at the embedded curl command using the app service here: