This repository has been archived on 2020-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
deluge/Dockerfile
Simon Bruder b998b9bc3f
All checks were successful
continuous-integration/drone/push Build is passing
Switch to alpine
2020-07-09 20:24:28 +02:00

25 lines
584 B
Docker

FROM alpine:edge
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories \
&& apk add --no-cache \
deluge \
git \
nginx \
py3-pip \
runit \
su-exec \
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"]