mirror of
https://github.com/dockersamples/example-voting-app.git
synced 2026-07-11 01:19:17 +00:00
Update images for Windows 1809
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM microsoft/dotnet:2.1-sdk-nanoserver-1809 as builder
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 as builder
|
||||
|
||||
WORKDIR /Worker
|
||||
COPY Worker/Worker.csproj .
|
||||
@@ -8,7 +8,7 @@ COPY /Worker .
|
||||
RUN dotnet publish -c Release -o /out Worker.csproj
|
||||
|
||||
# app image
|
||||
FROM microsoft/dotnet:2.1-aspnetcore-runtime-nanoserver-1809
|
||||
FROM mcr.microsoft.com/dotnet/core/runtime:2.1
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["dotnet", "Worker.dll"]
|
||||
|
||||
Reference in New Issue
Block a user