Use inline syntax for healthcheck
This commit is contained in:
parent
4c6873a2e9
commit
fce86792e7
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user