Add Windows 1809 support

This commit is contained in:
Elton Stoneman
2018-10-22 11:27:04 +01:00
parent 59ec1dfc7d
commit 6dfc628088
5 changed files with 145 additions and 0 deletions

View File

@ -0,0 +1,16 @@
FROM microsoft/dotnet:2.1-sdk-nanoserver-1809 as builder
WORKDIR /Result
COPY Result/Result.csproj .
RUN dotnet restore
COPY /Result .
RUN dotnet publish -c Release -o /out Result.csproj
# app image
FROM microsoft/dotnet:2.1-aspnetcore-runtime-nanoserver-1809
WORKDIR /app
ENTRYPOINT ["dotnet", "Result.dll"]
COPY --from=builder /out .