From ca240b568971ff4fc9e5cb9a285f8172b2605d3b Mon Sep 17 00:00:00 2001 From: Luca Vitucci Date: Sat, 9 Nov 2024 14:24:22 +0100 Subject: [PATCH] Replace curl with wget Replace curl with wget as curl is not available from the base image. --- docker/app/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/app/Dockerfile b/docker/app/Dockerfile index c835dc9875..30896cbadc 100644 --- a/docker/app/Dockerfile +++ b/docker/app/Dockerfile @@ -28,4 +28,4 @@ CMD ["java", "-cp", "app:app/lib/*", "io.tolgee.Application"] # Health check to ensure the app is up and running HEALTHCHECK --interval=10s --timeout=3s --retries=20 \ - CMD curl -f http://127.0.0.1:$HEALTHCHECK_PORT/actuator/health || exit 1 + CMD wget -q -O - http://127.0.0.1:$HEALTHCHECK_PORT/actuator/health || exit 1