Integrate custom Web GUI assets, templates, and config.yaml; adapt for LocalAI
Mirror and run GitLab CI / build (push) Has been cancelled
Mirror and run GitLab CI / build (push) Has been cancelled
This commit is contained in:
+14
-9
@@ -5,9 +5,9 @@ FROM python:3.11-slim
|
||||
LABEL maintainer="Jacob Schmieder"
|
||||
LABEL email="Jacob.Schmieder@dbfz.de"
|
||||
LABEL version="0.1.1.dev"
|
||||
LABEL description="Scraibe: LocalAI-backed transcription and diarization client with summarization. \
|
||||
LABEL description="Scraibe: LocalAI-backed transcription and diarization client with summarization and custom Web GUI. \
|
||||
Sends audio to a LocalAI server running vibevoice.cpp and uses a second LLM for summarization."
|
||||
LABEL url="https://github.com/JSchmie/ScrAIbe"
|
||||
LABEL url="https://git.optimex.systems/admin/scribe"
|
||||
|
||||
# Install system dependencies (ffmpeg required)
|
||||
RUN apt update -y && \
|
||||
@@ -16,27 +16,32 @@ RUN apt update -y && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
# Working directory
|
||||
WORKDIR /app
|
||||
WORKDIR /app/src
|
||||
|
||||
# Environment variables for LocalAI (transcription/diarization)
|
||||
# Set these via docker run -e or docker-compose
|
||||
ENV LOCALAI_API_URL=http://localhost:8080
|
||||
ENV LOCALAI_API_KEY=
|
||||
ENV LOCALAI_MODEL=vibevoice-diarize
|
||||
ENV LOCALAI_MODEL=vibevoice-cpp-asr
|
||||
|
||||
# Environment variables for Summarizer LLM
|
||||
ENV SUMMARIZER_API_URL=http://localhost:8080
|
||||
ENV SUMMARIZER_API_KEY=
|
||||
ENV SUMMARIZER_MODEL=llama-3.1-8b-instruct
|
||||
ENV SUMMARIZER_MODEL=qwen3-14b
|
||||
|
||||
# Gradio / Web GUI
|
||||
ENV GRADIO_SERVER_NAME=0.0.0.0
|
||||
|
||||
# Copy and install Python dependencies
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
COPY requirements.txt /app/src/requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy application code
|
||||
COPY scraibe /app/scraibe
|
||||
COPY scraibe /app/src/scraibe
|
||||
|
||||
# Expose port (if UI is served)
|
||||
# Copy custom Web GUI assets (header, footer, templates, logos, config)
|
||||
COPY misc /app/src/misc
|
||||
|
||||
# Expose port (for Web GUI)
|
||||
EXPOSE 7860
|
||||
|
||||
# Run the application
|
||||
|
||||
Reference in New Issue
Block a user