Files
own_assist/audio_server/Containerfile
T
milan 5bf98a1efc add logging config to audio server
add audio client
change delimiter for mcp tools from "::" to ":" to save tokens
2026-04-09 16:21:58 +02:00

19 lines
475 B
Docker

FROM python:3.14.4-slim AS builder
WORKDIR /app
COPY pyproject.toml requirements.txt ./
COPY src src
RUN pip wheel --no-cache-dir --no-deps --wheel-dir wheels .
FROM python:3.14.4-slim AS runner
COPY --from=builder /app/wheels /wheels
RUN pip install --no-cache /wheels/* && rm -rf /wheels
RUN apt update
RUN apt -y install ffmpeg
WORKDIR /app
EXPOSE 8000
CMD ["uvicorn", "audio_server:app", "--host", "0.0.0.0", "--port", "8000", "--log-config", "logging_config.yaml"]