Files
local-voice-assistant/middleware/Dockerfile
T
Yann Ahlgrim 28361c70fc Update uvicorn command to use port 8003
Change the default port for uvicorn from 8000 to 8003.
2025-10-23 15:15:40 +02:00

16 lines
407 B
Docker

FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
libsndfile1 \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./
RUN python -m pip install --upgrade pip setuptools wheel && \
pip install --no-cache-dir -r requirements.txt
COPY server.py ./
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8003"]