feat: add standalone CLI project

This commit is contained in:
mmc
2026-03-19 07:36:14 +08:00
commit 26b238ec25
16 changed files with 6103 additions and 0 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
FROM python:3.12-slim
ENV PYTHONUNBUFFERED=1
RUN apt-get update && \
apt-get install -y --no-install-recommends \
gcc g++ make curl libssl-dev libffi-dev && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt pyproject.toml README.md ./
COPY main.py run.py support.py ./
COPY openai_pool_orchestrator ./openai_pool_orchestrator
COPY config ./config
RUN mkdir -p /app/data/tokens && \
pip install --no-cache-dir -r requirements.txt && \
pip install --no-cache-dir -e .
VOLUME ["/app/data"]
ENTRYPOINT ["python", "run.py"]
CMD ["--help"]