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:
parent
f6eb4eeefc
commit
f63d3083bd
@ -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