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
2
2
3
3
WORKDIR /build
4
4
5
- COPY ./Kubed .sln .
5
+ COPY ./StockKube .sln .
6
6
COPY ./src/StockData/StockData.csproj ./src/StockData/
7
7
COPY ./src/StockWeb/StockWeb.csproj ./src/StockWeb/
8
8
@@ -12,7 +12,7 @@ COPY . .
12
12
13
13
RUN dotnet publish --no-restore -c Release -o /published src/StockData/StockData.csproj
14
14
15
- FROM mcr.microsoft.com/dotnet/core/ aspnet:3.0
15
+ FROM mcr.microsoft.com/dotnet/aspnet:5.0 as runtime
16
16
17
17
WORKDIR /app
18
18
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netcoreapp3 .0</TargetFramework >
5
- <LangVersion >8 </LangVersion >
4
+ <TargetFramework >net5 .0</TargetFramework >
5
+ <LangVersion >9.0 </LangVersion >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
9
<Protobuf Include =" Protos\stocks.proto" GrpcServices =" Server" />
10
10
</ItemGroup >
11
11
12
12
<ItemGroup >
13
- <PackageReference Include =" Grpc.AspNetCore" Version =" 0.2.23-pre2 " />
13
+ <PackageReference Include =" Grpc.AspNetCore" Version =" 2.34.0-pre1 " />
14
14
</ItemGroup >
15
15
16
16
</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
2
2
3
3
WORKDIR /src
4
4
5
- COPY ./Kubed .sln .
5
+ COPY ./StockKube .sln .
6
6
COPY ./src/StockData/StockData.csproj ./src/StockData/
7
7
COPY ./src/StockWeb/StockWeb.csproj ./src/StockWeb/
8
8
@@ -12,7 +12,7 @@ COPY . .
12
12
13
13
RUN dotnet publish --no-restore -c Release -o /published src/StockWeb/StockWeb.csproj
14
14
15
- FROM mcr.microsoft.com/dotnet/core/ aspnet:3.0
15
+ FROM mcr.microsoft.com/dotnet/aspnet:5.0 as runtime
16
16
17
17
WORKDIR /app
18
18
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netcoreapp3 .0</TargetFramework >
4
+ <TargetFramework >net5 .0</TargetFramework >
5
5
</PropertyGroup >
6
6
7
7
<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" >
11
11
<PrivateAssets >all</PrivateAssets >
12
12
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
13
13
</PackageReference >
Original file line number Diff line number Diff line change 7
7
}
8
8
},
9
9
"StockData" : {
10
- "Address" : " http://localhost:5001 "
10
+ "Address" : " http://localhost:5000 "
11
11
}
12
12
}
You can’t perform that action at this time.
0 commit comments