This commit is contained in:
Brandon
2019-08-19 15:33:04 -05:00
parent 2f4690b638
commit ca90ceb2bb
2 changed files with 4 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ RUN \
py-gobject@edge \
su-exec@edge \
gstreamer@edge \
gst-plugins-base@edge \
gst-plugins-good@edge \
gst-plugins-ugly@edge \
&& pip install -U \
@@ -39,7 +40,7 @@ RUN \
&& addgroup -g ${PGID} mopidy \
&& adduser -h /mopidy -s /bin/sh -D -G mopidy -u ${PUID} mopidy \
&& echo "* Fixing privileges" \
&& mkdir -p /data/.config /data/.cache \
&& mkdir -p /data/{.config,.cache} \
&& chown -R mopidy:mopidy /data \
&& echo "* Cleaning up" \
&& rm -f /var/cache/apk/* \

View File

@@ -1,5 +1,5 @@
#!/bin/sh
if [ ! -f /data/.config/mopidy.conf ]; then
if [ ! -r /data/.config/mopidy.conf ]; then
mkdir -p /data/.config && cp /defaults/mopidy.conf /data/.config
fi