steam-openid-connect-provider/Dockerfile

15 lines
604 B
Text
Raw Normal View History

2019-09-27 13:25:46 +00:00
FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build
2019-05-01 21:41:28 +00:00
WORKDIR /src
2019-05-01 22:39:03 +00:00
COPY ["src/SteamOpenIdConnectProxy.csproj", "SteamOpenIdConnectProxy/"]
2019-05-01 21:41:28 +00:00
RUN dotnet restore "SteamOpenIdConnectProxy/SteamOpenIdConnectProxy.csproj"
2019-05-01 22:39:03 +00:00
COPY ["src/", "SteamOpenIdConnectProxy/"]
2019-05-01 21:41:28 +00:00
WORKDIR "/src/SteamOpenIdConnectProxy"
RUN dotnet build "SteamOpenIdConnectProxy.csproj" -c Release -o /app
FROM build AS publish
RUN dotnet publish "SteamOpenIdConnectProxy.csproj" -c Release -o /app
2019-09-27 13:25:46 +00:00
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0 AS base
2019-05-01 21:41:28 +00:00
WORKDIR /app
COPY --from=publish /app .
ENTRYPOINT ["dotnet", "SteamOpenIdConnectProxy.dll"]