Skip to content

Commit

Permalink
refactor(NEXT): updated HEALTHCHECK curl in Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
arg0WAK committed Jun 8, 2024
1 parent 18812a2 commit 3ffb672
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 @@ -13,7 +13,7 @@ COPY . .
EXPOSE 3000

# Health Check
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD curl -f http://localhost:3000/ || exit 1
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD curl -f http://localhost:3000/health || exit 1

# Start the app
CMD ["node", "index.js"]

0 comments on commit 3ffb672

Please sign in to comment.