Spaces:
Sleeping
Sleeping
| FROM python:3.12-slim | |
| WORKDIR /app | |
| ENV PYTHONUNBUFFERED=1 | |
| # Install uv for faster dependency installation | |
| RUN pip install --no-cache-dir uv | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN uv pip install --system --no-cache-dir -r requirements.txt | |
| # Copy application source code | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"] | |