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 /Vote
|
||||
COPY Vote/Vote.csproj .
|
||||
@ -8,7 +8,7 @@ COPY /Vote .
|
||||
RUN dotnet publish -c Release -o /out Vote.csproj
|
||||
|
||||
# app image
|
||||
FROM microsoft/dotnet:2.1-aspnetcore-runtime
|
||||
FROM microsoft/dotnet:2.1-aspnetcore-runtime-nanoserver-sac2016
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["dotnet", "Vote.dll"]
|
||||
|
Reference in New Issue
Block a user