Spaces:
Runtime error
Runtime error
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install uv | |
| COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv | |
| # Install dependencies | |
| COPY backend/pyproject.toml backend/uv.lock ./ | |
| RUN uv sync --frozen --no-dev | |
| # Copy application code | |
| COPY backend/neural_mri/ neural_mri/ | |
| EXPOSE 8000 | |
| CMD ["uv", "run", "uvicorn", "neural_mri.main:app", "--host", "0.0.0.0", "--port", "8000"] | |