Update Microsoft Docker repo location

[#74]
This commit is contained in:
Chris Cheetham 2021-03-03 09:25:03 -05:00
Родитель db3aac8592
Коммит c548cb71b6
4 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -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"