feat(diarization-ui): add FastAPI UI backend with sqlite storage and Ollama analysis pipeline
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user