mirror of
https://github.com/dockersamples/example-voting-app.git
synced 2026-07-10 17:09:28 +00:00
Update dotnet 3.1
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 as builder
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 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 mcr.microsoft.com/dotnet/core/aspnet:2.1
|
||||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["dotnet", "Result.dll"]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 as builder
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 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 mcr.microsoft.com/dotnet/core/aspnet:2.1
|
||||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["dotnet", "Vote.dll"]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 as builder
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as builder
|
||||
|
||||
WORKDIR /Worker
|
||||
COPY src/Worker/Worker.csproj .
|
||||
@@ -8,7 +8,7 @@ COPY src/Worker/ .
|
||||
RUN dotnet publish -c Release -o /out Worker.csproj
|
||||
|
||||
# app image
|
||||
FROM mcr.microsoft.com/dotnet/core/runtime:2.1
|
||||
FROM mcr.microsoft.com/dotnet/core/runtime:3.1
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["dotnet", "Worker.dll"]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 as builder
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.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 mcr.microsoft.com/dotnet/core/runtime:2.1
|
||||
FROM mcr.microsoft.com/dotnet/core/runtime:3.1
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["dotnet", "Worker.dll"]
|
||||
|
||||
Reference in New Issue
Block a user