Files
desklock/gateway/Dockerfile
T
jpmschweitzerandClaude Fable 5 22f00fda0f
Test, Build and Push / test-gateway (push) Successful in 33s
Test, Build and Push / release (push) Skipped
Test, Build and Push / build-gateway (push) Skipped
Drop audioop: request 16 kHz directly via Speaches sample_rate extension
Settles the Python version question: floor >=3.11, no ceiling.
Container moves to python:3.13-slim, CI tests on 3.13. The embedded
Piper fallback resamples with numpy (already present via [speech]).
Verified with a live round trip at 16 kHz.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 18:13:58 +02:00

13 lines
354 B
Docker

FROM python:3.13-slim
WORKDIR /app
COPY pyproject.toml ./
COPY src ./src
# slim by design: STT/TTS models live in the Speaches container, not this image.
# For the embedded fallback backend build with ".[speech]" instead.
RUN pip install --no-cache-dir .
EXPOSE 8600
CMD ["uvicorn", "desklock_gateway.main:app", "--host", "0.0.0.0", "--port", "8600"]