Skip to content

Commit 0a179f7

Browse files
committed
Small update to HEALTHCHECK command
- add trailing / to avoid redirects - use IP address instead of hostname - depending on ALLOWED_HOSTS this request may be blocked
1 parent 7be7b86 commit 0a179f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN microdnf -y module enable nginx:1.22 && \
77
microdnf -y --nodocs update && \
88
microdnf clean all
99

10-
HEALTHCHECK CMD curl --fail --insecure https://localhost:8443/accounts/login
10+
HEALTHCHECK CMD curl --fail --insecure https://127.0.0.1:8443/accounts/login/
1111
EXPOSE 8080
1212
EXPOSE 8443
1313
COPY ./httpd-foreground /httpd-foreground

0 commit comments

Comments
 (0)