From 36666ee57fc1c820c0d0333853e646daa7a95aa3 Mon Sep 17 00:00:00 2001 From: AndreasScharfCPB <83280473+AndreasScharfCPB@users.noreply.github.com> Date: Thu, 21 Apr 2022 23:22:08 +0200 Subject: [PATCH] Fix healthcheck checks hardcoded port --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 5e7a3b93..7823396d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -28,4 +28,4 @@ ENV MAILDEV_WEB_PORT 1080 ENV MAILDEV_SMTP_PORT 1025 ENTRYPOINT ["bin/maildev"] HEALTHCHECK --interval=10s --timeout=1s \ - CMD wget -O - http://localhost:1080/healthz || exit 1 \ No newline at end of file + CMD wget -O - http://localhost:${MAILDEV_WEB_PORT}/healthz || exit 1