20 lines
365 B
Docker
20 lines
365 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# 安装基本依赖
|
|
RUN pip install --no-cache-dir \
|
|
python-dotenv \
|
|
loguru \
|
|
aiohttp \
|
|
requests \
|
|
orjson \
|
|
typing-extensions \
|
|
asyncio-throttle
|
|
|
|
COPY search_agent/ /app/search_agent/
|
|
COPY agent_callback_utils.py /app/
|
|
COPY test_search_import.py /app/
|
|
|
|
CMD ["python3", "/app/test_search_import.py"]
|