diff --git a/Dockerfile b/Dockerfile
index 68a01d46b95abe990db39ed6aecd0f172f189536..90ba671db9e578554f0c1e2698f9c1725356ff1a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,15 +10,7 @@ RUN apt-get update && \
     musl-dev \
     libgeos-dev \
     libproj-dev \
-    && python3 -m pip install --upgrade pip \
-    && python3 -m pip install pipx \
-    && python3 -m pipx ensurepath
-
-# Ensure pipx is in the PATH
-ENV PATH="/root/.local/bin:${PATH}"
-
-# Install poetry using pipx
-RUN pipx install poetry
+    python3-poetry
 
 # Set the working directory inside the container
 WORKDIR /app