Merge pull request #5 from neothor/bugfix/docker-image-has-no-curl-for-healtcheck

Added curl
This commit is contained in:
Mark Ettema 2021-07-11 14:59:42 +07:00 committed by GitHub
commit 376c788b2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,10 @@ FROM build AS publish
RUN dotnet publish ./SteamOpenIdConnectProvider.csproj -c Release -o /app RUN dotnet publish ./SteamOpenIdConnectProvider.csproj -c Release -o /app
FROM mcr.microsoft.com/dotnet/aspnet:5.0 FROM mcr.microsoft.com/dotnet/aspnet:5.0
RUN apt-get update && \
apt-get install -y curl
WORKDIR /app WORKDIR /app
COPY --from=publish /app . COPY --from=publish /app .
EXPOSE 80 EXPOSE 80