Skip to content

Commit

Permalink
feat: add health check
Browse files Browse the repository at this point in the history
  • Loading branch information
kane50613 committed Jan 23, 2025
1 parent bdffce6 commit 7b43f82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ WORKDIR /app

COPY api-proxy-rs /app/api-proxy-rs

HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD curl -f http://localhost/ || exit 1

ENTRYPOINT ["/app/api-proxy-rs"]

0 comments on commit 7b43f82

Please sign in to comment.