diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..e62392f --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +config.ini +__pycache__ +count.db +notes.txt \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..69953c1 --- /dev/null +++ b/docker-compose.yaml @@ -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 \ No newline at end of file diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..398d972 --- /dev/null +++ b/dockerfile @@ -0,0 +1,13 @@ +FROM python:3.10-slim + +LABEL org.opencontainers.image.source = "https://github.com/PacketParker/Guava" + +MAINTAINER "parker " + +WORKDIR / + +COPY . . +RUN pip install -r requirements.txt + +ENTRYPOINT [ "python" ] +CMD [ "-u", "code/bot.py" ] \ No newline at end of file