diff --git a/Dockerfile b/Dockerfile
index 37ab807b13ddfb2bd9c74faef77affc26824e313..260536db72e55cc78eda09e045cee37caffb8296 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@ RUN apk add git zlib && pip3 install --upgrade napalm cffi napalm-dellos10
 RUN apk add py3-pillow
 WORKDIR /tmp
 RUN git clone https://github.com/k01ek/netbox-qrcode.git
-RUN cd netbox-qrcode
+WORKDIR /tmp/netbox-qrcode
 COPY setup.py .
 RUN pwd && ls -al && python3 setup.py install
 RUN echo "PLUGINS = ['netbox_qrcode']" >> /etc/netbox/config/configuration.py