From b89464e4619cdcdd840108a6d1f8220070d93d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Sad=C4=B1k=20=C3=96zbek?= Date: Fri, 27 Sep 2019 16:25:46 +0300 Subject: [PATCH] Fix dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bb33d57..cd1db6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/core/sdk:2.2-stretch AS build +FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build WORKDIR /src COPY ["src/SteamOpenIdConnectProxy.csproj", "SteamOpenIdConnectProxy/"] RUN dotnet restore "SteamOpenIdConnectProxy/SteamOpenIdConnectProxy.csproj" @@ -9,7 +9,7 @@ RUN dotnet build "SteamOpenIdConnectProxy.csproj" -c Release -o /app FROM build AS publish RUN dotnet publish "SteamOpenIdConnectProxy.csproj" -c Release -o /app -FROM bmcr.microsoft.com/dotnet/core/aspnet:3.0 AS base +FROM mcr.microsoft.com/dotnet/core/aspnet:3.0 AS base WORKDIR /app COPY --from=publish /app . ENTRYPOINT ["dotnet", "SteamOpenIdConnectProxy.dll"] \ No newline at end of file