Dockerfile 233 B

12345678910111213
  1. FROM python:3.11-slim
  2. WORKDIR /app
  3. COPY pyproject.toml .
  4. RUN pip install --no-cache-dir -e .
  5. COPY app/ app/
  6. COPY data/ data/ 2>/dev/null || true
  7. EXPOSE 9000
  8. CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "9000"]