Init Dockerfile and docker-compose.yml
This commit is contained in:
parent
f26f8cdd9a
commit
7b130b4bc7
|
@ -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"]
|
|
@ -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"
|
Loading…
Reference in New Issue