mirror of
https://github.com/katanemo/plano.git
synced 2026-06-23 15:38:07 +02:00
feat: langchain improved
This commit is contained in:
parent
5cf67a8189
commit
6efaa0cf8d
11 changed files with 1702 additions and 0 deletions
28
demos/use_cases/multi_frameworks/Dockerfile
Normal file
28
demos/use_cases/multi_frameworks/Dockerfile
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install bash and uv
|
||||
RUN apt-get update && apt-get install -y bash && rm -rf /var/lib/apt/lists/*
|
||||
RUN pip install --no-cache-dir uv
|
||||
|
||||
# Copy dependency files
|
||||
COPY pyproject.toml ./
|
||||
COPY README.md ./
|
||||
|
||||
# Install dependencies to system Python
|
||||
RUN uv pip install --system .
|
||||
|
||||
# Copy shared utilities
|
||||
COPY openai_protocol.py ./
|
||||
|
||||
# Copy application code
|
||||
COPY crewai/ ./crewai/
|
||||
COPY langchain/ ./langchain/
|
||||
|
||||
# Set environment variables
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV PYTHONPATH=/app:$PYTHONPATH
|
||||
|
||||
# Default command (will be overridden in docker-compose)
|
||||
CMD ["uv", "run", "python", "crewai/flight_agent.py"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue