Skip to content

Commit

Permalink
Change the path
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandur committed Nov 1, 2022
1 parent da2608a commit 39b640f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,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 ./
RUN chmod +x ./start.sh
ENTRYPOINT ["./start.sh"]
2 changes: 2 additions & 0 deletions LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.arm32v7
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ COPY Directory.Build.props ./
COPY AssemblyInfo.cs ./
COPY .editorconfig ./
COPY global.json ./

COPY LICENSE ./
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./

Expand Down Expand Up @@ -32,6 +33,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 ./
RUN chmod +x ./start.sh
Expand Down
2 changes: 2 additions & 0 deletions LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.arm64v8
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ COPY Directory.Build.props ./
COPY AssemblyInfo.cs ./
COPY .editorconfig ./
COPY global.json ./

COPY LICENSE ./
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./

Expand Down Expand Up @@ -34,5 +35,6 @@ 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 ./LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json ./
RUN chmod +x ./start.sh
ENTRYPOINT ["./start.sh"]
7 changes: 7 additions & 0 deletions LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"Logging": {
"LogLevel": {
"System.Net.Http.HttpClient": "Warning"
}
}
}

0 comments on commit 39b640f

Please sign in to comment.