fixed permissions issue
parent
bfe291f188
commit
d09ba4394b
|
@ -33,9 +33,17 @@ RUN addgroup \
|
||||||
--ingroup transmission \
|
--ingroup transmission \
|
||||||
--disabled-password \
|
--disabled-password \
|
||||||
--shell /sbin/nologin \
|
--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
|
ENV TRANSMISSION_HOME /var/lib/transmission
|
||||||
USER transmission
|
USER transmission
|
||||||
|
WORKDIR /var/lib/transmission
|
||||||
|
|
||||||
CMD ["/usr/local/bin/transmission-daemon", "--foreground"]
|
CMD ["/usr/local/bin/transmission-daemon", "--foreground"]
|
||||||
|
|
Loading…
Reference in New Issue