diff --git a/Dockerfile b/Dockerfile
index 5c9a3c91eddf89215ee03ab09de1ed130793846e..3f6fa54dd36e136df38b0eff863db56ab5aebbae 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
 # Use an official Python runtime as a parent image
-FROM python:3.8-slim
+FROM python:3.10
 
 # Set the working directory in the container
 WORKDIR /app
@@ -15,7 +15,7 @@ WORKDIR /app/DeepLabCut
 
 # Create a virtual environment and activate it
 RUN python3 -m venv venv
-
+RUN pip install --upgrade pip
 # Install dependencies
 RUN /bin/bash -c "source venv/bin/activate && pip install -r requirements.txt && pip install .[gui]"