aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJeremy Lin <jjlin@users.noreply.github.com>2022-10-10 00:03:36 -0700
committerJeremy Lin <jjlin@users.noreply.github.com>2022-10-10 00:03:36 -0700
commit6441cd9436128f21af8fd0ff006035fefd3d2092 (patch)
tree608d9eba9e8dc45ced9ab6b5c7410fd167026864 /Dockerfile
parent97a1113223f977cf12a72f66eed1d4004438b840 (diff)
Fix Docker healthcheck output
The current healthcheck command results in progress info being output. Add -f/--fail, -s/--silent, -S/--show-error options to avoid progress output, but still show error messages if something goes wrong.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 219b958935..7b69a186ff 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -89,4 +89,4 @@ ENTRYPOINT ["./jellyfin/jellyfin", \
"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
- CMD curl -Lk "${HEALTHCHECK_URL}" || exit 1
+ CMD curl -Lk -fsS "${HEALTHCHECK_URL}" || exit 1