|
@@ -6,7 +6,7 @@ RUN adduser -S mopidy \
|
|
|
&& python3 -m pip install Mopidy-MPD \
|
|
|
&& ldconfig \
|
|
|
&& wget https://www.ee.columbia.edu/~dpwe/sounds/music/africa-toto.wav -O ~/toto.wav \
|
|
|
- && mkdir -p ~/.config/mopidy
|
|
|
+ && mkdir -p ~/.config/mopidy \
|
|
|
&& cat <<EOF | tee ~/.config/mopidy/mopidy.conf
|
|
|
[http]
|
|
|
enabled = true
|
|
@@ -18,7 +18,7 @@ hostname = ::
|
|
|
[audio]
|
|
|
mixer = software
|
|
|
output = alsasink
|
|
|
-EOF \
|
|
|
+EOF
|
|
|
&& cat <<EOF | tee /etc/asound.conf
|
|
|
pcm.!default {
|
|
|
type plug
|
|
@@ -31,6 +31,6 @@ ctl.!default {
|
|
|
type hw
|
|
|
card 1
|
|
|
}
|
|
|
-EOF \
|
|
|
+EOF
|
|
|
&&
|
|
|
/usr/bin/mopidy &
|