Skip to content

Commit

Permalink
Update Dockerfile (#422)
Browse files Browse the repository at this point in the history
This fixes the runtime .NET Core image to bring it into line with the SDK image. That's to say, the code is built in 3.1, so the runtime should be 3.1 also.
  • Loading branch information
3dbrows authored Nov 15, 2020
1 parent 9c30a11 commit 0f17f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ COPY . ./

RUN dotnet publish -v q -nologo --no-restore product/roundhouse.console -o /app/out -p:TargetFramework=netcoreapp2.1 -p:Version="${VERSION}" -p:Configuration=Build -p:Platform="Any CPU"

FROM mcr.microsoft.com/dotnet/core/aspnet:2.1
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1

WORKDIR /app
COPY --from=build-env /app/out .
Expand Down

0 comments on commit 0f17f69

Please sign in to comment.