File tree Expand file tree Collapse file tree 5 files changed +16
-12
lines changed Expand file tree Collapse file tree 5 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 1+ ** /[b|B ]in /
2+ ** /[O|o ]bj /
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
1+ FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build
22WORKDIR /source
33
44# copy csproj and restore as distinct layers
@@ -7,17 +7,18 @@ RUN dotnet restore -r linux-musl-x64
77
88# copy and publish app and libraries
99COPY sisk-cadente/ .
10- RUN dotnet publish -c release -o /app
10+ RUN dotnet publish -c release -o /app -r linux-musl-x64 --no-restore --self-contained
11+
12+ # final stage/image
13+ FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-alpine
1114
1215ENV DOTNET_GCDynamicAdaptationMode=0
1316ENV DOTNET_ReadyToRun=0
1417ENV DOTNET_HillClimbing_Disable=1
1518
16- # final stage/image
17- FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS runtime
1819WORKDIR /app
1920COPY --from=build /app .
2021
21- ENTRYPOINT ["dotnet" , " ./sisk.dll " ]
22+ ENTRYPOINT ["./sisk" ]
2223
2324EXPOSE 8080
Original file line number Diff line number Diff line change 99 </PropertyGroup >
1010
1111 <ItemGroup >
12- <PackageReference Include =" Sisk.Cadente" Version =" 1.0.0-beta4 " />
12+ <PackageReference Include =" Sisk.Cadente" Version =" 1.0.0-beta7 " />
1313 </ItemGroup >
1414
1515</Project >
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
1+ FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build
22WORKDIR /source
33
44# copy csproj and restore as distinct layers
@@ -7,17 +7,18 @@ RUN dotnet restore -r linux-musl-x64
77
88# copy and publish app and libraries
99COPY sisk/ .
10- RUN dotnet publish -c release -o /app -r linux-musl-x64
10+ RUN dotnet publish -c release -o /app -r linux-musl-x64 --no-restore --self-contained
11+
12+ # final stage/image
13+ FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-alpine
1114
1215ENV DOTNET_GCDynamicAdaptationMode=0
1316ENV DOTNET_ReadyToRun=0
1417ENV DOTNET_HillClimbing_Disable=1
1518
16- # final stage/image
17- FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
1819WORKDIR /app
1920COPY --from=build /app .
2021
21- ENTRYPOINT ["dotnet" , " ./sisk.dll " ]
22+ ENTRYPOINT ["./sisk" ]
2223
2324EXPOSE 8080
Original file line number Diff line number Diff line change 99 </PropertyGroup >
1010
1111 <ItemGroup >
12- <PackageReference Include =" Sisk.HttpServer" Version =" 1.4.0-beta3 " />
12+ <PackageReference Include =" Sisk.HttpServer" Version =" 1.5.2 " />
1313 </ItemGroup >
1414
1515</Project >
You can’t perform that action at this time.
0 commit comments