Updating to netcore3.1 (#338)

* Updating to .NET Core 3.1

* Updating nuget packages

* Updating dockerfile for 3.1
This commit is contained in:
Eric Fleming
2019-12-17 09:08:55 -07:00
committed by Steve Smith
parent 13fc6ea546
commit e53117b952
7 changed files with 24 additions and 24 deletions

View File

@@ -7,7 +7,7 @@
#
# RUN COMMAND
# docker run --name eshopweb --rm -it -p 5106:5106 web
FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
WORKDIR /app
COPY *.sln .
@@ -17,7 +17,7 @@ RUN dotnet restore
RUN dotnet publish -c Release -o out
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0 AS runtime
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS runtime
WORKDIR /app
COPY --from=build /app/src/Web/out ./