add docker env

This commit is contained in:
bain 2022-08-21 23:22:12 +02:00
parent 0354f21ea8
commit 6078136478
No known key found for this signature in database
GPG key ID: A708F07AF3D92C02
2 changed files with 17 additions and 0 deletions

9
Dockerfile Normal file
View file

@ -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"]

8
docker-compose.yml Normal file
View file

@ -0,0 +1,8 @@
version: "3"
services:
bot:
build: .
environment:
BOT_TOKEN: ""
tty: true