mirror of
https://github.com/GH05TCREW/pentestagent.git
synced 2026-05-13 23:53:30 +00:00
fix: disable tokenizer parallelism in Docker to prevent RAG fd error
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user