2020-09-29 11:54:26 +02:00
|
|
|
FROM alpine:3.11
|
|
|
|
|
|
|
|
# Installing required packages
|
|
|
|
RUN apk add --update --no-cache \
|
|
|
|
python3
|
|
|
|
|
|
|
|
# Install package
|
2020-10-24 10:39:40 +02:00
|
|
|
WORKDIR /code
|
|
|
|
COPY . .
|
|
|
|
RUN pip3 install .
|
2020-09-29 11:54:26 +02:00
|
|
|
|
|
|
|
ENV QBITTORRENT_HOST=""
|
|
|
|
ENV QBITTORRENT_PORT=""
|
|
|
|
ENV QBITTORRENT_USER=""
|
|
|
|
ENV QBITTORRENT_PASS=""
|
|
|
|
ENV EXPORTER_PORT="8000"
|
|
|
|
ENV EXPORTER_LOG_LEVEL="INFO"
|
|
|
|
|
|
|
|
ENTRYPOINT ["qbittorrent-exporter"]
|