Files
rag-technical-docs-assistant/services/local_s2s/Dockerfile
T
11linear11 a94b8cd3ea feat(voice): implement local S2S retained history and provider selection
Add pinned CPU engine dependencies, retained interrupted-response history, provider admission, offline evaluation and isolated browser tooling.

Record Phase 2 acceptance and Phase 3/4 preparation, bounded paid-test accounting and interruption incident findings. Human interruption acceptance, paired OpenAI evaluation and rollback remain pending.
2026-10-16 17:09:27 -04:00

18 lines
936 B
Docker

# Dependency resolution and the base digest are explicit preparation gates.
# See README.md; this Dockerfile does not fetch weights or use an operational image.
ARG ENGINE_BASE_IMAGE
FROM ${ENGINE_BASE_IMAGE}
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1
WORKDIR /app
COPY .local-s2s-build/requirements.lock /build/requirements.lock
RUN pip install --no-cache-dir --only-binary=:all: --require-hashes -r /build/requirements.lock
COPY .local-s2s-build/upstream /opt/speech-to-speech
RUN pip install --no-deps --no-build-isolation /opt/speech-to-speech
COPY pyproject.toml alembic.ini /app/
COPY app /app/app
COPY services/local_s2s /app/services/local_s2s
COPY migrations /app/migrations
COPY .local-s2s-build/build-manifest.json /app/engine-build-manifest.json
RUN pip install --no-deps --no-build-isolation -e /app
CMD ["python", "-m", "services.local_s2s.engine", "--allow-paid-startup"]