-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
53 lines (42 loc) · 893 Bytes
/
Dockerfile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
FROM ubuntu:18.04
RUN apt-get update && \
apt-get install -y \
build-essential \
ffmpeg \
flac \
id3v2 \
vorbis-tools \
git \
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libfftw3-dev \
python3 \
python3-pip \
qt5-default \
sox
RUN pip3 install filetype
RUN mkdir /build
WORKDIR /build
RUN git clone https://github.com/ibsh/libKeyFinder.git && \
cd libKeyFinder && \
qmake && \
make && \
make install && \
cd ..
RUN git clone https://github.com/EvanPurkhiser/keyfinder-cli.git && \
cd keyfinder-cli && \
make && \
make install && \
cd ..
RUN git clone http://www.pogo.org.uk/~mark/bpm-tools.git && \
cd bpm-tools && \
make && \
make install && \
cd ..
RUN git clone https://github.com/khannurien/autotracks.git /app
WORKDIR /app
VOLUME ["/tracks"]
VOLUME ["/output"]
ENV LANG C.UTF-8
ENTRYPOINT ["python3", "run.py", "/output/playlist", "/tracks"]