How to set the path of appsetting.json file to DockerFile in IoT Edge Runtime Project

I created one IOT edge runtime custom module project on windows container.
While running the solution I am facing System cannot Find the file specified.
I am passing the values from appsetting.json file and while running the module the path is not getting specified.

Is it some way i can give some command to copy appsetting.json file in to container while building the image.

This is the Dockerfile i am using:

FROM AS build-env

COPY *.csproj ./
COPY appsettings.json ./
RUN dotnet restore

COPY . ./
RUN dotnet publish -c Release -o out

COPY --from=build-env /app/out ./
ENTRYPOINT ["dotnet", "project.dll"]

This is the cs.proj file

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp3.1|AnyCPU'">
    <TreatSpecificWarningsAsErrors />

    <ProjectCapability Include="AzureIoTEdgeModule" />

    <PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.*" />
    <PackageReference Include="System.Runtime.Loader" Version="4.3.0" />

    <Reference Include="SasLib">

    <Compile Update="ResourceResource.Designer.cs">

    <EmbeddedResource Update="ResourceResource.resx">

Source: Docker Questions