diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..9d2137b --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,6 @@ +FROM alpine:latest +RUN apk update && apk add python3 py3-pip +ENV DB_PATH="/etc/hellmbot/database.sqlite" +RUN pip install --extra-index-url https://git.orudo.ru/api/packages/trueold89/pypi/simple/ HellMBot --break-system-packages +WORKDIR /etc/hellmbot +ENTRYPOINT ["hellm"] \ No newline at end of file diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml new file mode 100644 index 0000000..08bb2d1 --- /dev/null +++ b/docker/docker-compose.yml @@ -0,0 +1,10 @@ +services: + qbitdl_bot: + image: git.orudo.ru/trueold89/hellmbot:latest + container_name: HellMBot + volumes: + - hellm_db:/etc/hellmbot + restart: 'unless-stopped' + environment: + BOT_TOKEN: "insertyourbottokenhere" + CLIENT_ID: "insertyourclientidhere" \ No newline at end of file