forked from jjok/my-mopidy-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.pi
31 lines (24 loc) · 882 Bytes
/
Dockerfile.pi
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
FROM resin/rpi-raspbian:latest
RUN apt-get update \
&& apt-get install -y wget \
gnupg2 \
&& wget -q -O - https://apt.mopidy.com/mopidy.gpg | apt-key add - \
&& wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/stretch.list
RUN apt-get update \
&& apt-get install -y libffi-dev \
libxml2-dev \
libxslt1-dev \
zlib1g-dev \
build-essential \
python-dev \
mopidy \
mopidy-spotify \
python-pip \
gstreamer1.0-alsa \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt \
&& rm -rf ~/.cache/pip
COPY mopidy.conf /root/.config/mopidy/
EXPOSE 6600 6680 5555/udp
CMD mopidy