🔒️(agents) uninstall pip from the agents image

Reduce surface area and keep the runtime image minimal.
This commit is contained in:
lebaudantoine
2026-02-19 18:08:54 +01:00
committed by aleb_the_flash
parent 4507325331
commit ec3d4f7462

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}