Add microservices, web UI, and replay tooling
Some checks failed
ci / tests (push) Has been cancelled

This commit is contained in:
dan
2025-12-25 03:28:40 +03:00
commit 46a07f548b
72 changed files with 9142 additions and 0 deletions

20
docker/ai.Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY pyproject.toml README.md /app/
COPY catan /app/catan
COPY services /app/services
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir --index-url https://download.pytorch.org/whl/cpu torch \
&& pip install --no-cache-dir -e . \
&& pip install --no-cache-dir -r services/ai/requirements.txt
ENV PYTHONPATH=/app
EXPOSE 8002
CMD ["uvicorn", "services.ai.app:app", "--host", "0.0.0.0", "--port", "8002"]