diff --git a/Dockerfile b/Dockerfile
index 496379fc59ea49aaf7b1602a96e81f88610b46ca..a5ff2d707cc84d908aea4bf6fd190af414c3af19 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -57,8 +57,16 @@ RUN apt-get update && apt-get install -y \
     zip \
     && rm -rf /var/lib/apt/lists
 
-RUN apt-get update
-RUN apt-get install -y qt6-base-dev
+#RUN apt-get update
+#RUN apt-get install -y qt6-base-dev
+RUN apt-get update && apt-get install -y \
+    qt5-default \
+    qttools5-dev-tools \
+    libqt5x11extras5 \
+    libqt5gui5 \
+    libqt5widgets5 \
+    libqt5core5a
+
 
 RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
 
@@ -77,6 +85,8 @@ RUN python3 -m venv deepenv
 
 # Upgrade pip within the virtual environment
 RUN /app/DeepLabCut/deepenv/bin/pip install --upgrade pip
+####
+RUN /app/DeepLabCut/deepenv/bin/pip install pyqt5
 
 RUN /app/DeepLabCut/deepenv/bin/pip install wheel
 # Install compatible versions of numpy and typing-extensions