Add support for Docker!
This commit is contained in:
parent
7723b5adb0
commit
79bbfd14ec
4
.dockerignore
Normal file
4
.dockerignore
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
config.ini
|
||||||
|
__pycache__
|
||||||
|
count.db
|
||||||
|
notes.txt
|
19
docker-compose.yaml
Normal file
19
docker-compose.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
services:
|
||||||
|
guava:
|
||||||
|
container_name: guava
|
||||||
|
image: ghcr.io/packetparker/guava:latest
|
||||||
|
environment:
|
||||||
|
- TOKEN=
|
||||||
|
- BOT_COLOR=
|
||||||
|
- BOT_INVITE_LINK=
|
||||||
|
- FEEDBACK_CHANNEL_ID=
|
||||||
|
- BUG_CHANNEL_ID=
|
||||||
|
- SPOTIFY_CLIENT_ID=
|
||||||
|
- SPOTIFY_CLIENT_SECRET=
|
||||||
|
- OPENAI_API_KEY=
|
||||||
|
- LAVALINK_HOST=
|
||||||
|
- LAVALINK_PORT=
|
||||||
|
- LAVALINK_PASSWORD=
|
||||||
|
volumes:
|
||||||
|
- /path/on/system:/data
|
||||||
|
restart: on-failure
|
13
dockerfile
Normal file
13
dockerfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
FROM python:3.10-slim
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.source = "https://github.com/PacketParker/Guava"
|
||||||
|
|
||||||
|
MAINTAINER "parker <mailto:contact@pkrm.dev>"
|
||||||
|
|
||||||
|
WORKDIR /
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
|
ENTRYPOINT [ "python" ]
|
||||||
|
CMD [ "-u", "code/bot.py" ]
|
Loading…
x
Reference in New Issue
Block a user