2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2024-12-20 11:34:36 +00:00

Use inline syntax for healthcheck

This commit is contained in:
Joe Groocock 2017-12-15 16:37:42 +00:00
parent f6eb4eeefc
commit f63d3083bd
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -26,7 +26,7 @@ RUN set -ax \
&& chmod +x /usr/sbin/start_pms \ && chmod +x /usr/sbin/start_pms \
&& find /tmp -mindepth 1 -delete && find /tmp -mindepth 1 -delete
HEALTHCHECK --interval=30s --timeout=12s CMD wget -O /dev/null -T 10 -q localhost:32400/identity || exit 1 HEALTHCHECK --interval=30s --timeout=12s CMD [ "wget", "-O", "/dev/null", "-T", "10", "-q", "localhost:32400/identity" ]
WORKDIR /usr/lib/plexmediaserver WORKDIR /usr/lib/plexmediaserver