From e800937321dbc44d55f593ae5addad74bb5f05bf Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 20 Nov 2020 10:21:08 +0800 Subject: [PATCH] =?UTF-8?q?docker:=20=E6=9B=B4=E6=96=B0=20dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/Bootstrap.Admin/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/admin/Bootstrap.Admin/Dockerfile b/src/admin/Bootstrap.Admin/Dockerfile index 562baa96..0b82e325 100644 --- a/src/admin/Bootstrap.Admin/Dockerfile +++ b/src/admin/Bootstrap.Admin/Dockerfile @@ -1,11 +1,11 @@ #Depending on the operating system of the host machines(s) that will build or run the containers, the image specified in the FROM statement may need to be changed. #For more information, please see https://aka.ms/containercompat -FROM microsoft/dotnet:3.1-aspnetcore-runtime-nanoserver-1903 AS base +FROM mcr.microsoft.com/dotnet/runtime:5.0 AS base WORKDIR /app EXPOSE 80 -FROM microsoft/dotnet:3.1-sdk-nanoserver-1903 AS build +FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build WORKDIR /src COPY . .