diff --git a/Dockerfile b/Dockerfile index 1da2e40dd..ad02b3942 100644 --- a/Dockerfile +++ b/Dockerfile @@ -160,6 +160,9 @@ FROM core AS backend-production # Remove apk cache, we don't need it anymore RUN rm -rf /var/cache/apk/* +# pip is not needed at runtime (the dependencies are installed with uv) +RUN /usr/local/bin/python -m pip uninstall --yes pip + ARG IMPRESS_STATIC_ROOT=/data/static # Gunicorn - not used by default but configuration file is provided