You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
587 B
Docker
14 lines
587 B
Docker
FROM alpine:3.4
|
|
MAINTAINER Ryan Rix <ryan@whatthefuck.computer>
|
|
|
|
RUN BUILD_PKGS="py-pip python-dev openssl-dev gcc make musl-dev" && MAIN_PKGS="ca-certificates ffmpeg python3 mpc openssl py-setuptools" \
|
|
&& apk upgrade --no-cache && apk add --no-cache $MAIN_PKGS $BUILD_PKGS
|
|
RUN pip3 install youtube-dl configparser https://github.com/Half-Shot/matrix-python-sdk/archive/master.zip
|
|
COPY ./python /mpddj
|
|
COPY ./python/mpc /usr/lib/python2.7/mpc
|
|
RUN apk del --rdepends $BUILD_PKGS \
|
|
&& rm -rf /root/.cache
|
|
VOLUME ["/data", "/music"]
|
|
CMD ["python3", "/mpddj/mmdj.py", "/data/mpddj.ini"]
|
|
|