feat: langchain improved

This commit is contained in:
Musa 2026-01-16 13:10:03 -08:00
parent 5cf67a8189
commit 6efaa0cf8d
11 changed files with 1702 additions and 0 deletions

View 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"]