Skip to content

Commit 69bd0f1

Browse files
committed
chore: make healthcheck output concise
1 parent e033f95 commit 69bd0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ COPY --link frankenphp/Caddyfile /etc/frankenphp/Caddyfile
4848

4949
ENTRYPOINT ["docker-entrypoint"]
5050

51-
HEALTHCHECK --start-period=60s CMD curl -f http://localhost:2019/metrics || exit 1
51+
HEALTHCHECK --start-period=60s CMD curl http://localhost:2019/metrics --silent --show-error --fail --output /dev/null || exit 1
5252
CMD [ "frankenphp", "run", "--config", "/etc/frankenphp/Caddyfile" ]
5353

5454
# Dev FrankenPHP image

0 commit comments

Comments
 (0)