fix: disable tokenizer parallelism in Docker to prevent RAG fd error

This commit is contained in:
GH05TCREW
2026-05-07 03:05:33 -06:00
parent 573f6e2edb
commit 348d87013c
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ LABEL description="AI penetration testing"
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV DEBIAN_FRONTEND=noninteractive
ENV TOKENIZERS_PARALLELISM=false
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \

View File

@@ -10,6 +10,7 @@ LABEL description="PentestAgent with Kali Linux tools"
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV TOKENIZERS_PARALLELISM=false
# Prevent post-install scripts from trying to start services inside the container
RUN printf '#!/bin/sh\nexit 101\n' > /usr/sbin/policy-rc.d && chmod +x /usr/sbin/policy-rc.d