diff --git a/Dockerfile b/Dockerfile
index 41f4c6fda1fec4701fbaa21a915fa512f5c031f6..9159f94943ea3675adddf772f51d0c84a6829136 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,7 @@ FROM netboxcommunity/netbox
 ENV NAPALM_USERNAME netbox-napalm
 
 RUN apk add git && pip3 install --upgrade napalm cffi napalm-dellos10 
-RUN pip install --upgrade pip
-RUN apk add py3-setuptools
-RUN /usr/local/bin/easy_install pillow
+RUN python3 -m pip install --upgrade pip
+RUN python3 -m pip install --upgrade Pillow
 RUN apk add netbox-qrcode && \
     echo "PLUGINS = ['netbox_qrcode']" >> /etc/netbox/config/configuration.py