This repository was archived by the owner on May 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +14
-14
lines changed
Expand file tree Collapse file tree 5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/core/ sdk:3 .0 as build
1+ FROM mcr.microsoft.com/dotnet/sdk:5 .0 as build
22
33WORKDIR /build
44
5- COPY ./Kubed .sln .
5+ COPY ./StockKube .sln .
66COPY ./src/StockData/StockData.csproj ./src/StockData/
77COPY ./src/StockWeb/StockWeb.csproj ./src/StockWeb/
88
@@ -12,7 +12,7 @@ COPY . .
1212
1313RUN dotnet publish --no-restore -c Release -o /published src/StockData/StockData.csproj
1414
15- FROM mcr.microsoft.com/dotnet/core/ aspnet:3.0
15+ FROM mcr.microsoft.com/dotnet/aspnet:5.0 as runtime
1616
1717WORKDIR /app
1818
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp3 .0</TargetFramework >
5- <LangVersion >8 </LangVersion >
4+ <TargetFramework >net5 .0</TargetFramework >
5+ <LangVersion >9.0 </LangVersion >
66 </PropertyGroup >
77
88 <ItemGroup >
99 <Protobuf Include =" Protos\stocks.proto" GrpcServices =" Server" />
1010 </ItemGroup >
1111
1212 <ItemGroup >
13- <PackageReference Include =" Grpc.AspNetCore" Version =" 0.2.23-pre2 " />
13+ <PackageReference Include =" Grpc.AspNetCore" Version =" 2.34.0-pre1 " />
1414 </ItemGroup >
1515
1616</Project >
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/core/ sdk:3 .0 as build
1+ FROM mcr.microsoft.com/dotnet/sdk:5 .0 as build
22
33WORKDIR /src
44
5- COPY ./Kubed .sln .
5+ COPY ./StockKube .sln .
66COPY ./src/StockData/StockData.csproj ./src/StockData/
77COPY ./src/StockWeb/StockWeb.csproj ./src/StockWeb/
88
@@ -12,7 +12,7 @@ COPY . .
1212
1313RUN dotnet publish --no-restore -c Release -o /published src/StockWeb/StockWeb.csproj
1414
15- FROM mcr.microsoft.com/dotnet/core/ aspnet:3.0
15+ FROM mcr.microsoft.com/dotnet/aspnet:5.0 as runtime
1616
1717WORKDIR /app
1818
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp3 .0</TargetFramework >
4+ <TargetFramework >net5 .0</TargetFramework >
55 </PropertyGroup >
66
77 <ItemGroup >
8- <PackageReference Include =" Google.Protobuf" Version =" 3.9.1 " />
9- <PackageReference Include =" Grpc.Net.ClientFactory" Version =" 0.2.23-pre2 " />
10- <PackageReference Include =" Grpc.Tools" Version =" 2.23 .0" >
8+ <PackageReference Include =" Google.Protobuf" Version =" 3.14.0 " />
9+ <PackageReference Include =" Grpc.Net.ClientFactory" Version =" 2.34.0-pre1 " />
10+ <PackageReference Include =" Grpc.Tools" Version =" 2.34 .0" >
1111 <PrivateAssets >all</PrivateAssets >
1212 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1313 </PackageReference >
Original file line number Diff line number Diff line change 77 }
88 },
99 "StockData" : {
10- "Address" : " http://localhost:5001 "
10+ "Address" : " http://localhost:5000 "
1111 }
1212}
You can’t perform that action at this time.
0 commit comments