diff --git a/Dockerfile b/Dockerfile
index 496379fc59ea49aaf7b1602a96e81f88610b46ca..00ef091a403ec4439ce7d4742ec541a3ebfd17f2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -84,5 +84,6 @@ RUN /app/DeepLabCut/deepenv/bin/pip install numpy==1.24.3 typing-extensions==4.5
 RUN /app/DeepLabCut/deepenv/bin/pip install -r requirements.txt
 #RUN /app/DeepLabCut/deepenv/bin/pip install deeplabcut[gui]==2.3.8
 RUN /app/DeepLabCut/deepenv/bin/pip install .["gui"]
-
-ENTRYPOINT ["/bin/bash"]
+# Set the entry point to use the correct Python from the virtual environment
+ENTRYPOINT ["/app/DeepLabCut/deepenv/bin/python3", "-m", "deeplabcut"]
+#ENTRYPOINT ["/bin/bash"]