Skip to content

Commit

Permalink
adding healthcheck to Dockerfile per Ox
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronhmiller committed Jan 4, 2024
1 parent aedd50a commit ebd07a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ RUN apk add --update npm && \
npm install
COPY . ./
EXPOSE 3000 3443
HEALTHCHECK --interval=30s --timeout=5s CMD wget -qO- http://localhost:3000/ || exit 1
CMD ["node", "app.js"]

1 comment on commit ebd07a5

@vercel
Copy link

@vercel vercel bot commented on ebd07a5 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.