Skip to content
Snippets Groups Projects
Commit 94437818 authored by nimrod's avatar nimrod
Browse files

Set the home directory.

Avoid trying to use the home directory of the host user.
parent 677427fa
No related branches found
No related tags found
No related merge requests found
Pipeline #911 failed
......@@ -11,8 +11,9 @@ RUN apk add --update --no-cache --repository http://dl-cdn.alpinelinux.org/alpin
mkdir /etc/transmission
COPY --chown=root:root entrypoint /
COPY settings.json /etc/transmission/
VOLUME /var/lib/transmission/
VOLUME /var/lib/transmission
WORKDIR /var/lib/transmission
ENV HOME /var/lib/transmission
EXPOSE 9091 51413/tcp 51413/udp
ENTRYPOINT [ "/entrypoint" ]
CMD [ "transmission-daemon", "--foreground" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment