Родитель
db3aac8592
Коммит
c548cb71b6
|
@ -1,8 +1,8 @@
|
|||
FROM mcr.microsoft.com/dotnet/core/aspnet:2.1 AS base
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:2.1 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:2.1 AS build
|
||||
WORKDIR /src
|
||||
COPY ["{{Namespace}}.csproj", "."]
|
||||
RUN dotnet restore "{{Namespace}}.csproj"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS base
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:3.1 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:3.1 AS build
|
||||
WORKDIR /src
|
||||
COPY ["{{Namespace}}.csproj", "."]
|
||||
RUN dotnet restore "{{Namespace}}.csproj"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
FROM mcr.microsoft.com/dotnet/core/aspnet:5.0 AS base
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:5.0 AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ["{{Namespace}}.csproj", "."]
|
||||
RUN dotnet restore "{{Namespace}}.csproj"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS base
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:3.1 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:3.1 AS build
|
||||
WORKDIR /src
|
||||
COPY ["{{Namespace}}.csproj", "."]
|
||||
RUN dotnet restore "{{Namespace}}.csproj"
|
||||
|
|
Загрузка…
Ссылка в новой задаче