Little bugfix
- Update Dockerfile - Fix docker-compose.yml - Fix setup.py
This commit is contained in:
parent
6977bd58a0
commit
34088a2107
|
@ -1,6 +1,5 @@
|
||||||
FROM alpine:latest
|
FROM python:3.12.3-alpine3.19
|
||||||
RUN apk update && apk add python3 py3-pip
|
|
||||||
ENV DB_PATH="/etc/hellmbot/database.sqlite"
|
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
|
WORKDIR /etc/hellmbot
|
||||||
ENTRYPOINT ["hellm"]
|
ENTRYPOINT ["hellm"]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
services:
|
services:
|
||||||
qbitdl_bot:
|
hellm_bot:
|
||||||
image: git.orudo.ru/trueold89/hellmbot:latest
|
image: git.orudo.ru/trueold89/hellmbot:latest
|
||||||
container_name: HellMBot
|
container_name: HellMBot
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -7,4 +7,6 @@ services:
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
environment:
|
environment:
|
||||||
BOT_TOKEN: "insertyourbottokenhere"
|
BOT_TOKEN: "insertyourbottokenhere"
|
||||||
CLIENT_ID: "insertyourclientidhere"
|
CLIENT_ID: "insertyourclientidhere"
|
||||||
|
volumes:
|
||||||
|
hellm_db:
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -12,6 +12,6 @@ setup(
|
||||||
long_description=open("README.md").read(),
|
long_description=open("README.md").read(),
|
||||||
install_requires=["discord.py"],
|
install_requires=["discord.py"],
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": ["hellm = hellmbot.bot:main"]
|
"console_scripts": ["hellm = hellmbot.bot:start"]
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue