Spaces:
Running
Running
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install uv | |
| COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv | |
| # Copy files (flat structure, no backend folder) | |
| COPY pyproject.toml uv.lock ./ | |
| COPY chat.py database.py main.py voice.py ./ | |
| # Install dependencies | |
| RUN uv sync --frozen | |
| EXPOSE 7860 | |
| # Run app - using module name directly | |
| CMD ["uv", "run", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |