plano/demos/agent_orchestration/travel_agents/Dockerfile

23 lines
528 B
Text
Raw Normal View History

FROM python:3.14-slim
2025-12-23 17:14:50 -08:00
WORKDIR /app
2025-12-23 18:37:58 -08:00
# 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
2025-12-23 17:14:50 -08:00
# Copy dependency files
COPY pyproject.toml README.md ./
# Install dependencies (without lock file to resolve fresh)
RUN uv sync --no-dev
# Copy application code
COPY src/ ./src/
# Set environment variables
ENV PYTHONUNBUFFERED=1
# Default command (will be overridden in docker-compose)
CMD ["uv", "run", "python", "src/travel_agents/weather_agent.py"]