diff --git a/Dockerfile b/Dockerfile index 42805d1..8d53fd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,7 @@ RUN make install 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