feat(diarization-ui): add FastAPI UI backend with sqlite storage and Ollama analysis pipeline

This commit is contained in:
2026-03-21 13:47:36 +01:00
parent 85a36a0e5e
commit 25793c022c
8 changed files with 269 additions and 78 deletions

View File

@@ -1,8 +1,12 @@
FROM docker.io/library/nginx:alpine
FROM docker.io/library/python:3.12-slim
COPY index.html.template /usr/share/nginx/html/index.html.template
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
EXPOSE 80
CMD ["/docker-entrypoint.sh"]
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY app.py /app/app.py
EXPOSE 8094
CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8094"]