From a53c7ae08bf7cb5a3147f7b8538f23d2d6a91956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20S=C3=A1nchez?= Date: Sat, 24 Oct 2020 10:39:40 +0200 Subject: [PATCH] Install from src and not pip package --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 94c1057..ed6598c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,9 @@ RUN apk add --update --no-cache \ python3 # Install package -RUN pip3 install prometheus-qbittorrent-exporter==1.0.2 +WORKDIR /code +COPY . . +RUN pip3 install . ENV QBITTORRENT_HOST="" ENV QBITTORRENT_PORT=""