🔒️(agents) uninstall pip from the agents image

Reduce surface area and keep the runtime image minimal.
This commit is contained in:
lebaudantoine
2026-02-20 12:00:16 +01:00
parent 1b1fe5a9e4
commit 599372118f
+3
View File
@@ -19,6 +19,9 @@ FROM base AS production
WORKDIR /app
# Remove pip to reduce attack surface in production
RUN pip uninstall -y pip
ARG DOCKER_USER
USER ${DOCKER_USER}