File size: 398 Bytes
3c1aa59 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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"]
|