| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Copy requirements from correct path within build context (repo root) | |
| COPY org_sim/server/requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy full repo so org_sim package is importable | |
| COPY . . | |
| EXPOSE 8000 | |
| # Module path from repo root | |
| CMD ["python", "-m", "uvicorn", "org_sim.server.app:app", "--host", "0.0.0.0", "--port", "8000"] | |