diff --git a/Dockerfile b/Dockerfile
index 1873c417eeb7c0f9119ee1cc6f710caff0a28202..f9aaee58c6c709253bae49166c12aff1b15d41a8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -59,14 +59,15 @@ RUN apt-get update && apt-get install -y \
 
 #RUN apt-get update
 #RUN apt-get install -y qt6-base-dev
+
 RUN apt-get update && apt-get install -y \
-    qt5-default \
+    qtbase5-dev \
     qttools5-dev-tools \
     libqt5x11extras5 \
     libqt5gui5 \
     libqt5widgets5 \
-    libqt5core5a
-
+    libqt5core5a \
+    && rm -rf /var/lib/apt/lists/*
 
 RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1