Skip to content

Commit

Permalink
Optimize image healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
AleF83 committed Sep 29, 2021
1 parent 871add6 commit 477adf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ENV ASPNETCORE_ENVIRONMENT=Development

EXPOSE 80

HEALTHCHECK --interval=60s --timeout=2s --retries=8 \
HEALTHCHECK --start-period=2s --interval=1s --timeout=100ms --retries=10 \
CMD curl -f http://localhost/health || exit 1

ENTRYPOINT ["dotnet", "OpenIdConnectServerMock.dll" ]
ENTRYPOINT ["dotnet", "OpenIdConnectServerMock.dll" ]

0 comments on commit 477adf0

Please sign in to comment.