Use inline syntax for healthcheck

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

View File

@ -26,7 +26,7 @@ RUN set -ax \
&& chmod +x /usr/sbin/start_pms \
&& 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