From 7fc1e589559a453544dc2f050f179aa6bbe7b416 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 3 Mar 2022 18:45:37 -0600 Subject: use configured listen port for health check --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b8bb9701..a9512839 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,6 +72,6 @@ ENV DOTNET_BUNDLE_EXTRACT_BASE_DIR=/var/tmp/.net \ VOLUME /app -HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O - http://localhost:5000/health +HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O - http://localhost:${SLSKD_HTTP_PORT}/health ENTRYPOINT ["./slskd"] \ No newline at end of file -- cgit v1.2.3