add docker env
This commit is contained in:
parent
0354f21ea8
commit
6078136478
2 changed files with 17 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal 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
8
docker-compose.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
bot:
|
||||||
|
build: .
|
||||||
|
environment:
|
||||||
|
BOT_TOKEN: ""
|
||||||
|
tty: true
|
Loading…
Reference in a new issue