Skip to content

Commit

Permalink
fix healtcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelCenzano committed Sep 24, 2024
1 parent c86960c commit c7c5a0a
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 @@ -6,7 +6,7 @@ COPY build /app/build
RUN npm install -g serve

HEALTHCHECK --interval=10s --timeout=5s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:3000 || exit 1
CMD wget --no-verbose --tries=1 --spider http://0.0.0.0:3000 || exit 1

EXPOSE 3000

Expand Down

0 comments on commit c7c5a0a

Please sign in to comment.