1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02:00

update minidlna

This commit is contained in:
kev 2017-12-16 16:02:09 +08:00
parent e882dda59e
commit 24e3958901
2 changed files with 12 additions and 6 deletions

View File

@ -5,12 +5,15 @@
FROM alpine
MAINTAINER kev <noreply@easypi.pro>
RUN apk add --no-cache minidlna
RUN set -xe \
&& apk add --no-cache minidlna \
&& mkdir -p /etc/minidlna \
&& mv /etc/minidlna.conf /etc/minidlna
VOLUME /opt
VOLUME /etc/minidlna /var/lib/minidlna /opt
WORKDIR /opt
EXPOSE 1900/udp
EXPOSE 8200/tcp
CMD ["minidlnad", "-d"]
CMD ["minidlnad", "-d", "-f", "/etc/minidlna/minidlna.conf"]

View File

@ -5,12 +5,15 @@
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN apk add --no-cache minidlna
RUN set -xe \
&& apk add --no-cache minidlna \
&& mkdir -p /etc/minidlna \
&& mv /etc/minidlna.conf /etc/minidlna
VOLUME /opt
VOLUME /etc/minidlna /var/lib/minidlna /opt
WORKDIR /opt
EXPOSE 1900/udp
EXPOSE 8200/tcp
CMD ["minidlnad", "-d"]
CMD ["minidlnad", "-d", "-f", "/etc/minidlna/minidlna.conf"]