Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Add healthchecks to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
KowalskiPiotr98 committed Sep 6, 2021
1 parent b7f7224 commit 2629f6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS final
EXPOSE 80
WORKDIR /app
COPY --from=publish /app/publish .
HEALTHCHECK --interval=20s --start-period=5s --retries=3 CMD curl --fail http://localhost/health || exit 1
ENTRYPOINT ["dotnet", "Rinkudesu.Services.Links.dll"]
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<PackageVersion>0.0.0</PackageVersion>
<AssemblyVersion>0.0.0</AssemblyVersion>
<PackageVersion>0.2.0</PackageVersion>
<AssemblyVersion>0.2.0</AssemblyVersion>
<FileVersion></FileVersion>
<Authors>Rinkudesu</Authors>
<Company>Rinkudesu</Company>
Expand Down

0 comments on commit 2629f6b

Please sign in to comment.