FROM python:3.14-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 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"]