openWakeWord-rhasspy/Dockerfile

18 lines
589 B
Docker

FROM nvidia/cuda:12.4.1-devel-ubuntu22.04
RUN apt-get update && apt-get install -y \
git-lfs python3 build-essential python3-pip python3-venv \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN git clone https://github.com/rhasspy/wyoming-openwakeword --depth 1 --single-branch --recurse-submodules -b v1.10.0
WORKDIR /app/wyoming-openwakeword/
RUN python3 script/setup
WORKDIR /app
COPY requirements.txt .
RUN /app/wyoming-openwakeword/.venv/bin/pip install -r requirements.txt
ENTRYPOINT ["/app/wyoming-openwakeword/.venv/bin/python", "/app/wyoming-openwakeword/script/run"]