Add expose

This commit is contained in:
Enes Sadık Özbek 2019-11-15 03:22:21 +03:00 committed by GitHub
parent f85f7ed511
commit fb6f521e2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"]