Pin to Nano Server SAC 2016 images
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
FROM microsoft/dotnet:2.1-sdk as builder
|
||||
FROM microsoft/dotnet:2.1-sdk-nanoserver-sac2016 as builder
|
||||
|
||||
WORKDIR /Result
|
||||
COPY Result/Result.csproj .
|
||||
@ -8,7 +8,7 @@ COPY /Result .
|
||||
RUN dotnet publish -c Release -o /out Result.csproj
|
||||
|
||||
# app image
|
||||
FROM microsoft/dotnet:2.1-aspnetcore-runtime
|
||||
FROM microsoft/dotnet:2.1-aspnetcore-runtime-nanoserver-sac2016
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["dotnet", "Result.dll"]
|
||||
|
Reference in New Issue
Block a user