diff --git a/Dockerfile b/Dockerfile
index d0a58711ca5ebd48372f7bf654e51b33214aa31f..ecf3445c94ae1a84ab28ea87df535ea5ce7331fb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -67,7 +67,7 @@ WORKDIR /root/catkin_ws/src/ari_hloc/
 RUN mkdir -p ./third_party/Hierarchical-Localization/third_party/netvlad && mv /root/VGG16-NetVLAD-Pitts30K.mat ./third_party/Hierarchical-Localization/third_party/netvlad/
 RUN ln -s /usr/bin/python3 /usr/bin/python && bash init.sh 
 WORKDIR /root/catkin_ws/src/ari_hloc/third_party/Hierarchical-Localization
-RUN python3 setup.py install
+RUN python -m pip install --user -e .
 
 # BUILD
 WORKDIR /root/catkin_ws