forked from TheVaders/MusicBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (22 loc) · 664 Bytes
/
Dockerfile
File metadata and controls
26 lines (22 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM nikolaik/python-nodejs:python3.9-nodejs15-slim
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -y && \
apt-get install -yqq \
python3-pip \
git \
ffmpeg && \
git clone https://github.com/TheVaders/MusicBot.git && \
cd MusicBot && \
git clone https://github.com/pytgcalls/pytgcalls.git && \
cd pytgcalls && \
npm install && \
npm run prepare && \
cd pytgcalls/js && \
npm install && \
cd ../../ && \
pip3 install -r requirements.txt && \
cp -r ./pytgcalls /MusicBot/ && \
cd /MusicBot && \
pip3 install -U -r requirements.txt
WORKDIR /MusicBot
CMD ["python3" "main.py"]