Added HEALTHCHECK
This commit is contained in:
parent
2f243e3282
commit
d489ed46c9
@ -14,4 +14,7 @@ RUN make install
|
|||||||
|
|
||||||
EXPOSE $PORT
|
EXPOSE $PORT
|
||||||
|
|
||||||
|
RUN apt-get install -y net-tools
|
||||||
|
HEALTHCHECK CMD netstat -tulpn | grep 8999 || exit 1
|
||||||
|
|
||||||
CMD echo $MOTD > motd.txt && syncplay-server --password $PASSWORD --port $PORT --salt $SALT --motd-file motd.txt
|
CMD echo $MOTD > motd.txt && syncplay-server --password $PASSWORD --port $PORT --salt $SALT --motd-file motd.txt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user