diff --git a/Dockerfile b/Dockerfile
index d5b93741eb8b75719f9540f8500b82da187f662e..58495688be7694c9a0a7302796139fcd0dac51a5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -35,8 +35,9 @@ tzdata \
 unixodbc \
 unzip \
 wget \
-libidn11 \
-python3
+libidn11
+
+RUN apt install -y python3
 
 # set 'python' command to refer to python3
 RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1