fixed permissions issue
parent
bfe291f188
commit
d09ba4394b
|
@ -33,9 +33,17 @@ RUN addgroup \
|
|||
--ingroup transmission \
|
||||
--disabled-password \
|
||||
--shell /sbin/nologin \
|
||||
transmission
|
||||
transmission && \
|
||||
mkdir -p \
|
||||
/var/lib/transmission/blocklists \
|
||||
/var/lib/transmission/downloads \
|
||||
/var/lib/transmission/incomplete \
|
||||
/var/lib/transmission/resume \
|
||||
/var/lib/transmission/torrents && \
|
||||
chown -R transmission:transmission /var/lib/transmission
|
||||
|
||||
ENV TRANSMISSION_HOME /var/lib/transmission
|
||||
USER transmission
|
||||
WORKDIR /var/lib/transmission
|
||||
|
||||
CMD ["/usr/local/bin/transmission-daemon", "--foreground"]
|
||||
|
|
Loading…
Reference in New Issue