From 6078136478e787287c95c64cf3d045125d764c9b Mon Sep 17 00:00:00 2001 From: bain Date: Sun, 21 Aug 2022 23:22:12 +0200 Subject: [PATCH] add docker env --- Dockerfile | 9 +++++++++ docker-compose.yml | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..de05d24 --- /dev/null +++ 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 new file mode 100644 index 0000000..6f0bb2f --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: "3" + +services: + bot: + build: . + environment: + BOT_TOKEN: "" + tty: true