I get the configuration file 'appsettings.json' was not found by running in a docker container on ubuntu
<p>When I look to my publish files and on the server the files appsettings.json are there and they are configure in the publish.</p>

<p>When I do a Console.WriteLine of env.ContentRootPath in startup, the contentRootPath is /.</p>

<p>It should be the path to the folder where the application has been installed?</p>

<pre><code>public Startup(IHostingEnvironment env)
        {
        Console.WriteLine(" ContentRootPath: " + env.ContentRootPath);

        var builder = new ConfigurationBuilder()
            .SetBasePath(env.ContentRootPath)
            .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
            .AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: false, reloadOnChange: true);
</code></pre>