mopidy/Dockerfile

16 lines
668 B
Docker
Raw Permalink Normal View History

2020-06-29 07:03:10 +00:00
FROM ubuntu:20.04
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/buster.list && \
apt-get update && \
2020-06-29 07:42:49 +00:00
DEBIAN_FRONTEND=noninteractive apt-get install -y mopidy mopidy-gmusic mopidy-local mopidy-mpd mopidy-podcast python3-pip && \
python3 -m pip install Mopidy-Iris && \
apt-get remove -y wget python3-pip gnupg2 && \
2020-06-29 07:03:10 +00:00
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
2020-06-29 07:22:04 +00:00
ADD mopidy.conf /etc/mopidy.conf
CMD mopidy --config /etc/mopidy.conf:/data/config/mopidy.conf
EXPOSE 6680