diff --git a/Dockerfile b/Dockerfile
index cf8c1a1b996690c70a661167e15563d30e94a52c..332cb9bdf7676df6ec21b3835466499474406be4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,9 @@ ENV NAPALM_USERNAME netbox-napalm
 
 #RUN python3 -m pip install pip==19.3.1
 RUN apk add git zlib && pip3 install --upgrade napalm cffi napalm-dellos10 
-#RUN apk add py3-pillow
-RUN pip3 install qrcode
-RUN pip3 install netbox-qrcode
+RUN apk add py3-pillow
+RUN git clone https://github.com/k01ek/netbox-qrcode.git && \
+    cd netbox-qrcode
+COPY setup.py .
+RUN python3 install setup.py
 RUN echo "PLUGINS = ['netbox_qrcode']" >> /etc/netbox/config/configuration.py