dockerfile update

This commit is contained in:
Mathieu Broillet 2023-06-01 16:04:40 +02:00
parent a4f569e2bf
commit ecf2595273

View File

@ -5,16 +5,16 @@ ENV ENV_STATUS=${NODE_ENV:-production}
RUN apk update && apk upgrade
# needed for whispercpp
RUN apk add --no-cache --upgrade ffmpeg gcc musl-dev linux-headers g++
# RUN apk add --no-cache --upgrade ffmpeg gcc musl-dev linux-headers g++
WORKDIR /jarvis
COPY ./jarvis /jarvis
COPY ./src /src
# needed for padatious and adapt
RUN apk --no-cache add py3-fann2 fann-dev swig
# RUN apk --no-cache add py3-fann2 fann-dev swig
COPY requirements.txt /jarvis/
COPY run.py /jarvis/
COPY requirements.txt /src/
COPY run.py /src/
RUN python3 -m pip install --no-cache-dir -r requirements.txt
EXPOSE 5000