openWakeWord-rhasspy/Dockerfile
Ryan Voots 72f08a1d1c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Setup script didnt do what i needed, do it explicitly
2024-04-23 12:09:15 -04:00

20 lines
766 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
RUN /app/wyoming-openwakeword/.venv/bin/pip install -r /app/wyoming-openwakeword/requirements.txt
RUN /app/wyoming-openwakeword/.venv/bin/pip install /app/wyoming-openwakeword/
ENTRYPOINT ["/app/wyoming-openwakeword/.venv/bin/python", "/app/wyoming-openwakeword/script/run"]