1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +02:00
dockerfiles/minidlna/Dockerfile

20 lines
355 B
Docker
Raw Normal View History

2016-05-08 15:34:04 +02:00
#
# Dockerfile minidlna
#
FROM alpine
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
2016-05-08 15:34:04 +02:00
2017-12-16 10:02:09 +02:00
RUN set -xe \
&& apk add --no-cache minidlna \
&& mkdir -p /etc/minidlna \
&& mv /etc/minidlna.conf /etc/minidlna
2016-05-08 15:34:04 +02:00
2017-12-16 10:02:09 +02:00
VOLUME /etc/minidlna /var/lib/minidlna /opt
2016-05-08 15:34:04 +02:00
WORKDIR /opt
EXPOSE 1900/udp
EXPOSE 8200/tcp
2017-12-16 10:02:09 +02:00
CMD ["minidlnad", "-d", "-f", "/etc/minidlna/minidlna.conf"]