Skip to content

Commit e16585e

Browse files
Update dockerfile to use .NET core 2.0
1 parent c01bcc7 commit e16585e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/dotnet:1.1-sdk AS build-env
1+
FROM microsoft/dotnet:2.0-sdk AS build-env
22
WORKDIR /app
33

44
# copy csproj and restore as distinct layers
@@ -10,7 +10,7 @@ COPY RadarrAPI/* ./
1010
RUN dotnet publish -c Release -o out
1111

1212
# build runtime image
13-
FROM microsoft/dotnet:1.1-runtime
13+
FROM microsoft/dotnet:2.0-runtime
1414
WORKDIR /app
1515
COPY --from=build-env /app/out ./
1616
ENTRYPOINT ["dotnet", "RadarrAPI.dll"]

0 commit comments

Comments
 (0)