added whisper cpp dependencies in dockerfile

This commit is contained in:
Mathieu B 2023-03-14 22:06:49 +01:00
parent af7bc43e0a
commit c6eaf87679

View File

@ -3,14 +3,15 @@ FROM python:3.9-alpine
ENV ENV_STATUS=${NODE_ENV:-production} ENV ENV_STATUS=${NODE_ENV:-production}
RUN apk update && apk upgrade RUN apk update && apk upgrade
RUN apk add --no-cache --upgrade ffmpeg
# needed for whispercpp
RUN apk add --no-cache --upgrade ffmpeg gcc musl-dev linux-headers g++
WORKDIR /jarvis WORKDIR /jarvis
COPY ./jarvis /jarvis COPY ./jarvis /jarvis
# needed in older versions of jarvis-server # needed for padatious and adapt
RUN apk add py3-fann2 fann-dev swig RUN apk --no-cache add py3-fann2 fann-dev swig
COPY requirements.txt /jarvis/ COPY requirements.txt /jarvis/
RUN python3 -m pip install --no-cache-dir -r requirements.txt RUN python3 -m pip install --no-cache-dir -r requirements.txt