Little bugfix

- Update Dockerfile
- Fix docker-compose.yml
- Fix setup.py
This commit is contained in:
trueold89 2024-06-03 22:29:27 +03:00
parent 6977bd58a0
commit 34088a2107
Signed by: trueold89
GPG Key ID: C122E85DD49E6B30
3 changed files with 8 additions and 7 deletions

View File

@ -1,6 +1,5 @@
FROM alpine:latest
RUN apk update && apk add python3 py3-pip
FROM python:3.12.3-alpine3.19
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
RUN pip install --extra-index-url https://git.orudo.ru/api/packages/trueold89/pypi/simple/ HellMBot
WORKDIR /etc/hellmbot
ENTRYPOINT ["hellm"]

View File

@ -1,5 +1,5 @@
services:
qbitdl_bot:
hellm_bot:
image: git.orudo.ru/trueold89/hellmbot:latest
container_name: HellMBot
volumes:
@ -8,3 +8,5 @@ services:
environment:
BOT_TOKEN: "insertyourbottokenhere"
CLIENT_ID: "insertyourclientidhere"
volumes:
hellm_db:

View File

@ -12,6 +12,6 @@ setup(
long_description=open("README.md").read(),
install_requires=["discord.py"],
entry_points={
"console_scripts": ["hellm = hellmbot.bot:main"]
"console_scripts": ["hellm = hellmbot.bot:start"]
}
)