mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
20 lines
355 B
Docker
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"]
|