1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00
dockerfiles/minidlna/Dockerfile
2017-12-16 16:02:09 +08:00

20 lines
355 B
Docker

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