FROM python:3.14-slim WORKDIR /app # Install uv RUN pip install uv # Copy project files COPY pyproject.toml uv.lock ./ COPY api/ ./api/ COPY cli/ ./cli/ COPY config/ ./config/ COPY core/ ./core/ COPY messaging/ ./messaging/ COPY providers/ ./providers/ COPY server.py ./ COPY templates/ ./templates/ COPY .env.example ./ # Install dependencies RUN uv sync --frozen --no-dev # Expose port (HF Spaces default) EXPOSE 7860 # Run server CMD ["uv", "run", "uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]