Matthew Faltys
7 years ago
5 changed files with 19 additions and 12 deletions
@ -1,13 +1,19 @@ |
|||||||
FROM alpine |
FROM alpine |
||||||
|
|
||||||
|
# install openvpn and the transmission-daemon |
||||||
RUN apk --update add openvpn transmission-daemon |
RUN apk --update add openvpn transmission-daemon |
||||||
|
# create directories for downloaded files |
||||||
RUN mkdir -p /transmission/downloads |
RUN mkdir -p /transmission/downloads |
||||||
RUN mkdir -p /transmission/incomplete |
RUN mkdir -p /transmission/incomplete |
||||||
|
|
||||||
COPY config.ovpn / |
# copy in openvpn configs |
||||||
COPY creds.x / |
COPY config.ovpn /openvpn/ |
||||||
COPY settings.json /transmission/ |
COPY settings.json /transmission/ |
||||||
|
|
||||||
|
# copy in custom transmission theme |
||||||
COPY stage.tmp/theme/ /usr/share/transmission/web/ |
COPY stage.tmp/theme/ /usr/share/transmission/web/ |
||||||
COPY run.sh / |
|
||||||
|
|
||||||
CMD ["/run.sh"] |
# copy in runscript |
||||||
|
COPY start_server.sh / |
||||||
|
|
||||||
|
CMD ["/start_server.sh"] |
||||||
|
Loading…
Reference in new issue