🔒️(agents) uninstall pip from the agents image
Reduce surface area and keep the runtime image minimal.
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user