diff --git a/Dockerfile b/Dockerfile
index 36c429567e95dab105feb38c831f86462d968b62..62945e1c0c2e248bb7a4e6bd54bfd88032848a41 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.9.13-slim-bullseye AS base
+FROM python:3.9-slim-bullseye AS base
 
 ENV PYTHONUNBUFFERED=1
 
@@ -7,7 +7,7 @@ COPY requirements.txt .
 
 RUN apt-get update && apt-get install -y libmagic1 curl graphviz
 
-RUN pip install --upgrade pip
+RUN pip install --upgrade pip setuptools
 RUN pip install --no-cache-dir -r requirements.txt
 
 EXPOSE 8000