Skip to content

Commit

Permalink
🐛 remove health check options
Browse files Browse the repository at this point in the history
GitHub uses an old Docker version.
  • Loading branch information
McPringle committed Mar 31, 2024
1 parent 03aff96 commit 7823703
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ RUN useradd -m apus
USER apus
EXPOSE 8080
CMD java -jar /usr/app/app.jar
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --start-interval=10s --retries=3 \
CMD curl --fail --silent localhost:8080/actuator/health | grep UP || exit 1
HEALTHCHECK CMD curl --fail --silent localhost:8080/actuator/health | grep UP || exit 1

0 comments on commit 7823703

Please sign in to comment.