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 ...@@ -11,8 +11,9 @@ RUN apk add --update --no-cache --repository http://dl-cdn.alpinelinux.org/alpin
mkdir /etc/transmission mkdir /etc/transmission
COPY --chown=root:root entrypoint / COPY --chown=root:root entrypoint /
COPY settings.json /etc/transmission/ COPY settings.json /etc/transmission/
VOLUME /var/lib/transmission/ VOLUME /var/lib/transmission
WORKDIR /var/lib/transmission WORKDIR /var/lib/transmission
ENV HOME /var/lib/transmission
EXPOSE 9091 51413/tcp 51413/udp EXPOSE 9091 51413/tcp 51413/udp
ENTRYPOINT [ "/entrypoint" ] ENTRYPOINT [ "/entrypoint" ]
CMD [ "transmission-daemon", "--foreground" ] CMD [ "transmission-daemon", "--foreground" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment