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>
13 lines
354 B
Docker
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"]
|