diff --git a/Dockerfile b/Dockerfile index 86bba21..1bdf952 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,5 +12,6 @@ RUN dotnet publish "SteamOpenIdConnectProvider.csproj" -c Release -o /app FROM mcr.microsoft.com/dotnet/core/aspnet:3.0 AS base WORKDIR /app COPY --from=publish /app . +EXPOSE 80 HEALTHCHECK CMD curl --fail http://localhost/health || exit 1 ENTRYPOINT ["dotnet", "SteamOpenIdConnectProvider.dll"]