14 lines
312 B
Docker
14 lines
312 B
Docker
|
|
FROM python:3.12-slim
|
||
|
|
|
||
|
|
WORKDIR /app
|
||
|
|
COPY pyproject.toml README.md* ./
|
||
|
|
COPY gogo ./gogo
|
||
|
|
COPY alembic ./alembic
|
||
|
|
COPY alembic.ini ./
|
||
|
|
|
||
|
|
# voice extra pulls faster-whisper (CPU by default; CUDA wheels on the GPU node)
|
||
|
|
RUN pip install --no-cache-dir -e '.[voice]'
|
||
|
|
|
||
|
|
EXPOSE 9092
|
||
|
|
CMD ["python", "-m", "gogo.voice.server"]
|