Skip to content

Commit

Permalink
added watchdog + bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Wargamer-Senpai committed Nov 23, 2023
1 parent 401428b commit aaad3ab
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit aaad3ab

Please sign in to comment.