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" ]