Update Dockerfile (#364)

This commit is contained in:
Dev Aggarwal 2018-03-26 18:23:30 +05:30 committed by Jess Frazelle
parent dfababcec6
commit c4c0d1dc05

View File

@ -21,6 +21,12 @@
FROM alpine:latest FROM alpine:latest
LABEL maintainer "Jessie Frazelle <jess@linux.com>" LABEL maintainer "Jessie Frazelle <jess@linux.com>"
# machine parsable metadata, for https://github.com/pycampers/dockapt
LABEL "registry_image"="r.j3ss.co/transmission"
LABEL "docker_run_flags"="-d --name transmission \
-v ~/Downloads:/transmission/download \
-p 9091:9091 -p 51413:51413 -p 51413:51413/udp"
RUN apk --no-cache add \ RUN apk --no-cache add \
transmission-daemon \ transmission-daemon \
&& mkdir -p /transmission/download \ && mkdir -p /transmission/download \