FROM python:3.12-slim # tools agents typically need in the PTY RUN apt-get update && apt-get install -y --no-install-recommends \ bash curl wget git vim nano htop procps jq less unzip \ && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY main.py . EXPOSE 8000 CMD ["python", "-u", "main.py"]