Update Dockerfile

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

View file

@ -12,5 +12,5 @@ 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 .
HEALTHCHECK CMD curl --fail http://localhost:80/health || exit 1
ENTRYPOINT ["dotnet", "SteamOpenIdConnectProvider.dll"]
HEALTHCHECK CMD curl --fail http://localhost/health || exit 1
ENTRYPOINT ["dotnet", "SteamOpenIdConnectProvider.dll"]