From fb6f521e2bdf8362b3b1dc3204e18fea98f93a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Sad=C4=B1k=20=C3=96zbek?= Date: Fri, 15 Nov 2019 03:22:21 +0300 Subject: [PATCH] Add expose --- Dockerfile | 1 + 1 file changed, 1 insertion(+) 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"]