mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-10 02:16:22 +00:00
Fix dockerfile
This commit is contained in:
parent
01ceeeba82
commit
b89464e461
1 changed files with 2 additions and 2 deletions
|
@ -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
|
WORKDIR /src
|
||||||
COPY ["src/SteamOpenIdConnectProxy.csproj", "SteamOpenIdConnectProxy/"]
|
COPY ["src/SteamOpenIdConnectProxy.csproj", "SteamOpenIdConnectProxy/"]
|
||||||
RUN dotnet restore "SteamOpenIdConnectProxy/SteamOpenIdConnectProxy.csproj"
|
RUN dotnet restore "SteamOpenIdConnectProxy/SteamOpenIdConnectProxy.csproj"
|
||||||
|
@ -9,7 +9,7 @@ RUN dotnet build "SteamOpenIdConnectProxy.csproj" -c Release -o /app
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
RUN dotnet publish "SteamOpenIdConnectProxy.csproj" -c Release -o /app
|
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
|
WORKDIR /app
|
||||||
COPY --from=publish /app .
|
COPY --from=publish /app .
|
||||||
ENTRYPOINT ["dotnet", "SteamOpenIdConnectProxy.dll"]
|
ENTRYPOINT ["dotnet", "SteamOpenIdConnectProxy.dll"]
|
Loading…
Reference in a new issue