18 lines
531 B
Docker
18 lines
531 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM python:3.10
|
|
WORKDIR /v6
|
|
ENV v6root=/v6data
|
|
RUN apt-get update && apt-get install -y libopus0 opus-tools ffmpeg proxychains
|
|
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
|
|
COPY proxychains.conf /etc/proxychains.conf
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
CMD ["/entrypoint.sh"]
|