Spaces:
Runtime error
Runtime error
| # Dockerfile | |
| FROM python:3.10-slim | |
| WORKDIR /code | |
| COPY requirements.txt /code/ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . /code/ | |
| # Run FastAPI server on port 7860 | |
| CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8080"] | |