diff --git a/Dockerfile b/Dockerfile
index c104e8d10932f4447ba0e5b42ae8f81f8824ffa2..193b3ac7152e7116811599f7808ca727c65dac69 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -56,17 +56,17 @@ RUN apt-get update && apt-get install -y \
     xorg \
     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 \
- #   qtbase5-dev \
-  #  qttools5-dev-tools \
-   # libqt5x11extras5 \
-    #libqt5gui5 \
-  #  libqt5widgets5 \
-  #  libqt5core5a \
-  #  && rm -rf /var/lib/apt/lists/*
+RUN apt-get update && apt-get install -y \
+    qtbase5-dev \
+    qttools5-dev-tools \
+    libqt5x11extras5 \
+    libqt5gui5 \
+    libqt5widgets5 \
+    libqt5core5a \
+    && rm -rf /var/lib/apt/lists/*
 
 RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
 
@@ -97,5 +97,5 @@ RUN /app/DeepLabCut/deepenv/bin/pip install .["gui"]
 # Set the entry point to use the correct Python from the virtual environment
 #ENTRYPOINT ["/app/DeepLabCut/deepenv/bin/python3", "-m", "deeplabcut"]
 
-RUN strip --remove-section=.note.ABI-tag /lib/x86_64-linux-gnu/libQt6Core.so.6
+RUN strip --remove-section=.note.ABI-tag /lib/x86_64-linux-gnu/libQt5Core.so.5
 ENTRYPOINT ["/bin/bash"]