Skip to content

Commit 10be928

Browse files
committed
Updating to dotnet 3.1
1 parent 22650d4 commit 10be928

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM microsoft/dotnet:2.2-sdk-stretch as builder
1+
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as builder
22
WORKDIR /build
33
COPY . .
44
RUN dotnet restore
55
RUN dotnet publish --no-restore -c Release ./Web/QueryTree.csproj -o /dist
66

7-
FROM microsoft/dotnet:2.2-aspnetcore-runtime as runtime
7+
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 as runtime
88
WORKDIR /app
99
COPY --from=builder /dist .
1010
COPY --from=builder /build/Web/EmailTemplates ./EmailTemplates

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for more information.
4444

4545
### Prerequisites
4646

47-
To build binaries or run from source you need the [.NET Core SDK v2.2](https://www.microsoft.com/net/download) installed.
47+
To build binaries or run from source you need the [.NET Core SDK v3.1](https://www.microsoft.com/net/download) installed.
4848

4949
### Running from Source
5050

@@ -83,7 +83,7 @@ This will create a release folder in `dist` of all the unpacked QueryTree binari
8383

8484
### Running from Binaries
8585

86-
To run QueryTree on your server you will need to install the .NET Core 2.2.x runtime. (It is not necessary to install the full .NET SDK, just the runtime.) You can download the installer [here](https://www.microsoft.com/net/download/core#/runtime).
86+
To run QueryTree on your server you will need to install the .NET Core 3.1.x runtime. (It is not necessary to install the full .NET SDK, just the runtime.) You can download the installer [here](https://www.microsoft.com/net/download/core#/runtime).
8787

8888
To verify that you have the .NET runtime installed, open a terminal/cmd window and type
8989

Web/QueryTree.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
<PackageReference Include="Hangfire.SQLite" Version="1.4.2" />
3838
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="3.1.1" />
3939
<PackageReference Include="System.Reflection" Version="4.3.0" />
40-
<PackageReference Include="Microsoft.AspNetCore.App" />
4140
<PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.2.0" />
4241
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="2.2.0" />
4342
<PackageReference Include="Npgsql" Version="4.1.3" />

0 commit comments

Comments
 (0)