diff --git a/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.amd64 b/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.amd64 index 458c0b10a..fbc7e0b4b 100644 --- a/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.amd64 +++ b/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.amd64 @@ -31,6 +31,7 @@ RUN dotnet publish "LoRaWanNetworkSrvModule.csproj" -c Release -o out --no-resto FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim WORKDIR /app COPY --from=build-env /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWanNetworkSrvModule/out/* ./ +COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json ./ COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/start.sh ./ COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./ COPY LICENSE ./ diff --git a/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.arm32v7 b/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.arm32v7 index 9d62fc6f3..7681740d0 100644 --- a/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.arm32v7 +++ b/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.arm32v7 @@ -30,6 +30,7 @@ RUN dotnet publish "LoRaWanNetworkSrvModule.csproj" -c Release -o out --no-resto FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim-arm32v7 WORKDIR /app +COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json ./ COPY --from=build-env /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWanNetworkSrvModule/out/* ./ COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/start.sh ./ COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./ diff --git a/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.arm64v8 b/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.arm64v8 index e301f167d..4cedeebc5 100644 --- a/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.arm64v8 +++ b/LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.arm64v8 @@ -32,8 +32,8 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim-arm64v8 WORKDIR /app COPY --from=build-env /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWanNetworkSrvModule/out/* ./ COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/start.sh ./ -COPY LICENSE ./ +COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json ./ COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./ - +COPY LICENSE ./ RUN chmod +x ./start.sh ENTRYPOINT ["./start.sh"] diff --git a/LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json b/LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json new file mode 100644 index 000000000..da86497bf --- /dev/null +++ b/LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "System.Net.Http.HttpClient": "Warning", + "Microsoft.Extensions.Http.DefaultHttpClientFactory": "Warning" + } + } +}