27 lines
623 B
Docker
27 lines
623 B
Docker
|
FROM debian:testing-slim
|
||
|
|
||
|
RUN apt-get update \
|
||
|
&& apt-get -y install --no-install-recommends runit \
|
||
|
&& apt-get -y install \
|
||
|
deluge-console \
|
||
|
deluge-web \
|
||
|
deluged \
|
||
|
git \
|
||
|
gosu \
|
||
|
nginx-light \
|
||
|
python3-pip \
|
||
|
tini
|
||
|
|
||
|
RUN git clone --depth=1 https://github.com/tobbez/deluge_exporter /opt/deluge_exporter \
|
||
|
&& cd /opt/deluge_exporter \
|
||
|
&& pip3 install --no-cache-dir -r requirements.txt
|
||
|
|
||
|
COPY services /etc/service
|
||
|
COPY nginx.conf /etc/nginx/
|
||
|
COPY entrypoint.sh /usr/local/bin/
|
||
|
|
||
|
ENV PER_TORRENT_METRICS 1
|
||
|
ENV PUID 1000
|
||
|
|
||
|
ENTRYPOINT ["entrypoint.sh"]
|