diff --git a/Dockerfile b/Dockerfile
index 1cc23d1cddb58a3a941f094a6ee8fd23605d0563..28ba476c55dfae1eb8dc1519763471f00597c829 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,12 +12,11 @@ RUN apk add --update --no-cache gcc libc-dev libffi-dev curl vim bash openssh
 RUN mkdir -p /app/gap/collections /app/gap/roles /etc/ansible && \
     printf "[defaults]\ncollections_paths = /app/gap/collections\nroles_path = /app/gap/roles" > /etc/ansible/ansible.cfg
 
-RUN pip3 install \
+RUN pip install \
     --pre \
     --extra-index-url https://artifactory.software.geant.org/artifactory/api/pypi/geant-swd-pypi/simple \
     --target /app \
     goat-lso==${ARTIFACT_VERSION} && \
-    pip3 install ncclient xmltodict junos-eznc jxmlease ansible ansible_merge_vars && \
     ansible-galaxy collection install  \
                    community.general  \
                    juniper.device \
diff --git a/setup.py b/setup.py
index 708c3093c2c5805d10d00d7617fabb3ee79b3614..e94066a7cf2ece70eaa05230750f6177cd59fffc 100644
--- a/setup.py
+++ b/setup.py
@@ -21,6 +21,14 @@ setup(
         "jmespath~=1.0.0",
         "dictdiffer~=0.9.0",
         "ansible-runner~=2.3.3",
+        "junos-eznc~=2.6.8",
+        "jxmlease~=1.0.3",
+        "ansible-core~=2.16.0",
+        "ansible_merge_vars~=5.0.0",
+        "httpx~=0.25.1",
+        "GitPython~=3.1.40",
+        "jinja2==3.1.2",
+        "ruamel.yaml~=0.18.5",
     ],
     license="MIT",
     license_files=("LICENSE.txt",),