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

Commit

Permalink
fix: docker health api path
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Aug 12, 2024
1 parent 5f4b46d commit 84518f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN chown -R appuser:appuser /usr/src/app
USER appuser

# Added healthcheck to satisfy checkov lint, you should configure this according to your application
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:3000/health || exit 1
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:3000/api/health || exit 1

EXPOSE 3000

Expand Down

0 comments on commit 84518f1

Please sign in to comment.