commit 6078136478e787287c95c64cf3d045125d764c9b parent 0354f21ea881740c0c3b3d23bffd522907e8512e Author: bain <bain@bain.cz> Date: Sun, 21 Aug 2022 23:22:12 +0200 add docker env Diffstat:
A | Dockerfile | | | 9 | +++++++++ |
A | docker-compose.yml | | | 8 | ++++++++ |
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,9 @@ +FROM python:3.9-slim +RUN apt-get update +RUN apt-get install ffmpeg -y +WORKDIR /musicbot +RUN mkdir -p cache +COPY requirements.txt requirements.txt +RUN pip install -r requirements.txt +COPY ari ari +CMD ["python3", "-m", "ari"] diff --git a/docker-compose.yml b/docker-compose.yml @@ -0,0 +1,8 @@ +version: "3" + +services: + bot: + build: . + environment: + BOT_TOKEN: "" + tty: true