From aaad3abf84b98a4b3b98becae0bfd7448792be7a Mon Sep 17 00:00:00 2001 From: Wargamer-Senpai Date: Thu, 23 Nov 2023 16:45:20 +0100 Subject: [PATCH] added watchdog + bash --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9d34523..b0f033d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,11 +13,14 @@ COPY ./main.py /opt/teampy/ COPY ./config.py /opt/teampy/config.py COPY ./modules/* /opt/teampy/modules COPY ./plugins/ /opt/teampy/plugins +COPY ./watchdog.sh /opt/teampy/ RUN apk add --no-cache python3 && \ /usr/bin/python3 -m ensurepip && \ - /usr/bin/pip3 --no-input install requests && \ - apk add iputils + /usr/bin/pip3 --no-input install requests && \ + apk add iputils && \ + apk add bash + WORKDIR /opt/teampy/ -CMD [ "/usr/bin/python3", "main.py" ] +CMD [ "/bin/bash", "watchdog.sh" ]