From ecf25952731dced6e4b311f4cb390ce0e00396c6 Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Thu, 1 Jun 2023 16:04:40 +0200 Subject: [PATCH] dockerfile update --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9ebde88..1423f63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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