17 lines
462 B
Docker
17 lines
462 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM python:3.10
|
|
WORKDIR /v6
|
|
ENV v6root=/v6data
|
|
RUN apt-get update
|
|
RUN apt-get install -y libopus0 opus-tools ffmpeg
|
|
COPY base.requirements.txt base.requirements.txt
|
|
RUN pip install -r base.requirements.txt
|
|
COPY requirements.txt requirements.txt
|
|
RUN pip install -r requirements.txt
|
|
ENV v6port=80
|
|
ENV v6host=0.0.0.0
|
|
RUN mkdir ${v6root}
|
|
COPY v6d3music v6d3music
|
|
RUN python3 -m v6d3music.main
|
|
CMD ["python3", "-m", "v6d3music.run-bot"]
|